<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="" applecontenteditable="true"><div class="">michael-yuji on GitHub just sent us a patch in&nbsp;<a href="https://github.com/apple/swift/pull/9940" class="">https://github.com/apple/swift/pull/9940</a>, so at least that part's not a concern.</div><br class=""><div><blockquote type="cite" class=""><div class="">On May 25, 2017, at 17:47, Michael Ilseman via swift-dev &lt;<a href="mailto:swift-dev@swift.org" class="">swift-dev@swift.org</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">If that’s the case, we’ll want to add in FreeBSD alongside Android for that.<br class=""><br class=""><br class=""><blockquote type="cite" class="">On May 25, 2017, at 5:45 PM, Davide Italiano &lt;<a href="mailto:dccitaliano@gmail.com" class="">dccitaliano@gmail.com</a>&gt; wrote:<br class=""><br class="">On Thu, May 25, 2017 at 5:41 PM, Michael Ilseman &lt;<a href="mailto:milseman@apple.com" class="">milseman@apple.com</a>&gt; wrote:<br class=""><blockquote type="cite" class="">That would be awesome! Do you use the static stdlib configuration?<br class=""><br class="">I had to make assumptions about the type of pthread_key_t. If the type is wrong, there’s a nice static_assert with a message telling how to fix it. This came up yesterday for Android builds, and fixes are pretty straight forward: <a href="https://github.com/apple/swift/pull/9930/files" class="">https://github.com/apple/swift/pull/9930/files</a><br class=""><br class=""></blockquote><br class="">From a very quick (non-exhaustive) look I see pthread_key_t defined in<br class="">freebsd sys/ as:<br class=""><br class="">`typedef int &nbsp;&nbsp;&nbsp;&nbsp;pthread_key_t;`<br class=""><br class="">Is this compliant with your definition?<br class=""><br class="">Thanks,<br class=""><br class="">--<br class="">Davide<br class=""></blockquote><br class="">_______________________________________________<br class="">swift-dev mailing list<br class=""><a href="mailto:swift-dev@swift.org" class="">swift-dev@swift.org</a><br class="">https://lists.swift.org/mailman/listinfo/swift-dev<br class=""></div></div></blockquote></div><br class=""></body></html>