<feed xmlns='http://www.w3.org/2005/Atom'>
<title>portable/include/compat/pthread.h, branch OPENBSD_7_9</title>
<subtitle>A mirror of https://github.com/libressl/portable.git
</subtitle>
<id>https://git.lua4.win/portable/atom?h=OPENBSD_7_9</id>
<link rel='self' href='https://git.lua4.win/portable/atom?h=OPENBSD_7_9'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/portable/'/>
<updated>2023-12-19T19:18:29+00:00</updated>
<entry>
<title>pthread_once() returns an error code on failure</title>
<updated>2023-12-19T19:18:29+00:00</updated>
<author>
<name>Theo Buehler</name>
<email>tb@openbsd.org</email>
</author>
<published>2023-12-19T19:18:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/portable/commit/?id=c515f24515e226c1f9b402adacac146868a273f0'/>
<id>urn:sha1:c515f24515e226c1f9b402adacac146868a273f0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>pthreads.h: avoid undefined behavior</title>
<updated>2023-12-12T22:25:06+00:00</updated>
<author>
<name>Theo Buehler</name>
<email>tb@openbsd.org</email>
</author>
<published>2023-12-12T22:20:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/portable/commit/?id=0491aef86c41e9d1de19a64e1780ff82d35ccf54'/>
<id>urn:sha1:0491aef86c41e9d1de19a64e1780ff82d35ccf54</id>
<content type='text'>
You can't pass a function pointer through a void pointer.
So wrap the pthread callback in a struct.

Fixes #966
</content>
</entry>
<entry>
<title>windows: minor compat header fixes</title>
<updated>2023-12-11T21:56:09+00:00</updated>
<author>
<name>Viktor Szakats</name>
<email>commit@vsz.me</email>
</author>
<published>2023-12-11T21:53:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/portable/commit/?id=529f90ddd8f95664e53a818536f093f2d936bd44'/>
<id>urn:sha1:529f90ddd8f95664e53a818536f093f2d936bd44</id>
<content type='text'>
- posix_win.c: use `snprintf` as-is with _MSC_VER &gt;= 1900
- stdio.h: include socket header before windows.h
- pthread.h: delete exec permission from source file
</content>
</entry>
<entry>
<title>fix leak in Windows version of pthread_mutex_free</title>
<updated>2021-02-28T16:04:51+00:00</updated>
<author>
<name>Brent Cook</name>
<email>busterb@gmail.com</email>
</author>
<published>2021-02-28T16:04:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/portable/commit/?id=90f1c4db5c2d4bfd42882b89495409d3eb1e1ed1'/>
<id>urn:sha1:90f1c4db5c2d4bfd42882b89495409d3eb1e1ed1</id>
<content type='text'>
Free the lock pointer in addition to the critical section. Thanks to
martinkucera74 on github.
</content>
</entry>
<entry>
<title>add win32 pthread_mutex_destroy implementation</title>
<updated>2020-12-21T16:14:21+00:00</updated>
<author>
<name>Brent Cook</name>
<email>busterb@gmail.com</email>
</author>
<published>2020-12-21T15:39:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/portable/commit/?id=527482b520283dbe1a831a243dff4e2227958ed8'/>
<id>urn:sha1:527482b520283dbe1a831a243dff4e2227958ed8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Make pthread_mutex static initialisation work on Windows.</title>
<updated>2020-09-19T16:09:35+00:00</updated>
<author>
<name>Joel Sing</name>
<email>joel@sing.id.au</email>
</author>
<published>2020-09-19T16:09:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/portable/commit/?id=17c88164016df821df2dff4b2b1291291ec4f28a'/>
<id>urn:sha1:17c88164016df821df2dff4b2b1291291ec4f28a</id>
<content type='text'>
This takes the dynamic initialisation code added to CRYPTO_lock() in e5081719
and applies it to the Window's pthread_mutex implementation. This allows for
PTHREAD_MUTEX_INITIALIZER to be used on Windows.

bcook has agreed to place this code in the public domain (as per the rest of
the code in pthread.h).
</content>
</entry>
<entry>
<title>Add PTHREAD_MUTEX_INITIALIZER</title>
<updated>2020-09-13T12:56:34+00:00</updated>
<author>
<name>kinichiro</name>
<email>kinichiro.inoguchi@gmail.com</email>
</author>
<published>2020-09-13T03:55:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/portable/commit/?id=65b01cff7a843d1d363c5dffcb57da110ce614a3'/>
<id>urn:sha1:65b01cff7a843d1d363c5dffcb57da110ce614a3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>add pthread_mutex* windows compat for libtls</title>
<updated>2019-04-11T12:29:45+00:00</updated>
<author>
<name>Brent Cook</name>
<email>busterb@gmail.com</email>
</author>
<published>2019-04-11T12:28:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/portable/commit/?id=a67ba9f4ad8524c2d0bdd4cae6901ec415332829'/>
<id>urn:sha1:a67ba9f4ad8524c2d0bdd4cae6901ec415332829</id>
<content type='text'>
</content>
</entry>
<entry>
<title>change windows compatibility stubs for pthread_t to be more like other OSes</title>
<updated>2018-11-11T17:00:00+00:00</updated>
<author>
<name>Brent Cook</name>
<email>busterb@gmail.com</email>
</author>
<published>2018-11-11T17:00:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/portable/commit/?id=387d2ae261c64396036a1c53e303364b03444257'/>
<id>urn:sha1:387d2ae261c64396036a1c53e303364b03444257</id>
<content type='text'>
</content>
</entry>
<entry>
<title>add pthread_self/pthread_equal for win32</title>
<updated>2018-03-18T15:36:51+00:00</updated>
<author>
<name>Brent Cook</name>
<email>busterb@gmail.com</email>
</author>
<published>2018-03-18T15:36:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/portable/commit/?id=0e46c1e8ba9eca009173d2dc0c3084b322088eaf'/>
<id>urn:sha1:0e46c1e8ba9eca009173d2dc0c3084b322088eaf</id>
<content type='text'>
</content>
</entry>
</feed>
