<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/compat/win32/pthread.h, branch v2.3.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.3.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.3.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2012-04-11T18:08:43Z</updated>
<entry>
<title>compat/win32/pthread.h: Add an pthread_key_delete() implementation</title>
<updated>2012-04-11T18:08:43Z</updated>
<author>
<name>Ramsay Jones</name>
<email>ramsay@ramsay1.demon.co.uk</email>
</author>
<published>2012-04-11T05:49:46Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=9ba604a9e474142c0fa1cd03830e2281cde5e66d'/>
<id>urn:sha1:9ba604a9e474142c0fa1cd03830e2281cde5e66d</id>
<content type='text'>
Signed-off-by: Ramsay Jones &lt;ramsay@ramsay1.demon.co.uk&gt;
Signed-off-by: Nguyễn Thái Ngọc Duy &lt;pclouds@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'js/async-thread'</title>
<updated>2010-06-21T13:02:45Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2010-06-21T13:02:45Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=762655010d6f051f632a77b8c5b95b9f5cad02c9'/>
<id>urn:sha1:762655010d6f051f632a77b8c5b95b9f5cad02c9</id>
<content type='text'>
* js/async-thread:
  fast-import: die_nicely() back to vsnprintf (reverts part of ebaa79f)
  Enable threaded async procedures whenever pthreads is available
  Dying in an async procedure should only exit the thread, not the process.
  Reimplement async procedures using pthreads
  Windows: more pthreads functions
  Fix signature of fcntl() compatibility dummy
  Make report() from usage.c public as vreportf() and use it.
  Modernize t5530-upload-pack-error.

Conflicts:
	http-backend.c
</content>
</entry>
<entry>
<title>Thread-safe xmalloc and xrealloc needs a recursive mutex</title>
<updated>2010-04-09T06:06:39Z</updated>
<author>
<name>Johannes Sixt</name>
<email>j6t@kdbg.org</email>
</author>
<published>2010-04-08T07:15:39Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=937491944292fa3303b565b9bd8914c6b644ab13'/>
<id>urn:sha1:937491944292fa3303b565b9bd8914c6b644ab13</id>
<content type='text'>
The mutex used to protect object access (read_mutex) may need to be
acquired recursively.  Introduce init_recursive_mutex() helper function
in thread-utils.c that constructs a mutex with the PHREAD_MUTEX_RECURSIVE
attribute.

pthread_mutex_init() emulation on Win32 is already recursive as it is
implemented on top of the CRITICAL_SECTION type, which is recursive.

    http://msdn.microsoft.com/en-us/library/ms682530%28VS.85%29.aspx

Add do-nothing compatibility wrappers for pthread_mutexattr* functions.

Initial-version-by: Fredrik Kuivinen &lt;frekui@gmail.com&gt;
Signed-off-by: Johannes Sixt &lt;j6t@kdbg.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Windows: more pthreads functions</title>
<updated>2010-03-07T08:37:36Z</updated>
<author>
<name>Johannes Sixt</name>
<email>j6t@kdbg.org</email>
</author>
<published>2010-03-06T15:40:41Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=912b26324dbc1eb9500e49c90d271a330cbcb30b'/>
<id>urn:sha1:912b26324dbc1eb9500e49c90d271a330cbcb30b</id>
<content type='text'>
This adds:

   pthread_self
   pthread_equal
   pthread_exit
   pthread_key_create
   pthread_setspecific
   pthread_getspecific

Signed-off-by: Johannes Sixt &lt;j6t@kdbg.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Implement pthread_cond_broadcast on Windows</title>
<updated>2010-01-30T03:42:40Z</updated>
<author>
<name>Johannes Sixt</name>
<email>j6t@kdbg.org</email>
</author>
<published>2010-01-29T23:54:05Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=947c3464e49522c55296a8191aed7946bd0f4308'/>
<id>urn:sha1:947c3464e49522c55296a8191aed7946bd0f4308</id>
<content type='text'>
See http://www.cse.wustl.edu/~schmidt/win32-cv-1.html, section "The
SignalObjectAndWait solution". But note that this implementation does not
use SignalObjectAndWait (which is needed to achieve fairness, but we do
not need fairness).

Note that our implementations of pthread_cond_broadcast and
pthread_cond_signal require that they are invoked with the mutex held that
is used in the pthread_cond_wait calls.

Signed-off-by: Johannes Sixt &lt;j6t@kdbg.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>MSVC: Windows-native implementation for subset of Pthreads API</title>
<updated>2010-01-17T02:16:06Z</updated>
<author>
<name>Andrzej K. Haczewski</name>
<email>ahaczewski@gmail.com</email>
</author>
<published>2010-01-15T20:12:20Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=44626dc7d562d23b54d969bb73ddeda12d5602e9'/>
<id>urn:sha1:44626dc7d562d23b54d969bb73ddeda12d5602e9</id>
<content type='text'>
This patch implements native to Windows subset of pthreads API used by Git.
It allows to remove Pthreads for Win32 dependency for MSVC, msysgit and
Cygwin.

[J6t: If the MinGW build was built as part of the msysgit build
environment, then threading was already enabled because the
pthreads-win32 package is available in msysgit. With this patch, we can now
enable threaded code unconditionally.]

Signed-off-by: Andrzej K. Haczewski &lt;ahaczewski@gmail.com&gt;
Signed-off-by: Johannes Sixt &lt;j6t@kdbg.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
