| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
http://people.gnome.org/~walters/docs/build-api.txt
Signed-off-by: Adam Jackson <ajax@redhat.com>
|
|
|
|
|
|
|
|
|
| |
Anyway, the return value from pthread_self() being the only legal
pthread_t value in the case of stubs, all threads are one and the same.
In other words, pthread_equal() is always true.
Reviewed-by: Julien Cristau <jcristau@debian.org>
Signed-off-by: Peter Harris <pharris@opentext.com>
|
|
|
|
|
|
|
|
|
| |
POSIX does not warrant much about pthread_t.
It is not necessarily the same convertible to int as far as the calling
conventions are concerned.
Reviewed-by: Julien Cristau <jcristau@debian.org>
Signed-off-by: Peter Harris <pharris@opentext.com>
|
|
|
|
| |
Signed-off-by: Julien Danjou <julien@danjou.info>
|
|
|
|
|
| |
Signed-off-by: Julien Danjou <julien@danjou.info>
Reviewed-by: Jamey Sharp <jamey@minilop.net>
|
|
|
|
|
|
|
|
| |
It's easier to add a line to a list of functions in a template
file than copy-pasting five lines of template from other entries
and editing configure.ac.
Reviewed-by: Jamey Sharp <jamey@minilop.net>
|
|
|
|
| |
Signed-off-by: Julien Danjou <julien@danjou.info>
|
|
|
|
| |
Signed-off-by: Julien Danjou <julien@danjou.info>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Here is a patch that adds only pthread_condattr_init/destroy,
pthread_cond_timedwait, pthread_exit, and makes both cond_*wait abort
instead of just returning 0.
Jamey Sharp gave rationale for cond_wait aborting:
> In hindsight, I'm concerned about the fact that we provide
> pthread_cond_wait as a stub returning 0. If it's ever called in a
> single-threaded application, that function should probably call abort().
> The real implementation would be guaranteed to hang in that
> circumstance, after all. In XCB, we need this to be available as a stub,
> but I can prove that it won't be called unless there are really multiple
> threads.
Further discussion leading to this patch was in the thread here:
http://lists.freedesktop.org/archives/xcb/2009-October/005110.html
Signed-off-by: Jamey Sharp <jamey@minilop.net>
|
|
|
|
|
|
| |
This reverts commit 3d8dfe9a9ad0a22bdcec555bd3d0d9b5950a6dab.
Signed-off-by: Julien Danjou <julien@danjou.info>
|
|
|
|
| |
Signed-off-by: Julien Danjou <julien@danjou.info>
|
|
|
|
|
|
|
| |
Some applications, instead of using pthread_mutex_t, use anonymous
semaphores (sem_init) for locking.
Signed-off-by: Julien Danjou <julien@danjou.info>
|
| |
|
| |
|
| |
|
|
|