Displaying 6 results from an estimated 6 matches for "pthread_setcancelstate".
2002 Jan 02
2
macosx (lots of little changes)
...n 1 18:14:29 2002
@@ -40,10 +40,11 @@
audio_reopen_arg_t *reopen_arg = (audio_reopen_arg_t *) arg;
audio_device_t *current;
ao_sample_format format;
+ int dummy_o;
/* We DO NOT want to get cancelled part way through this and have our
audio devices in an unknown state */
- pthread_setcancelstate(PTHREAD_CANCEL_DISABLE, NULL);
+ pthread_setcancelstate(PTHREAD_CANCEL_DISABLE, &dummy_o);
<p> close_audio_devices (reopen_arg->devices);
@@ -113,7 +114,7 @@
free(reopen_arg->format);
free(reopen_arg);
- pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, NULL);
+ pthread_...
2002 Jan 02
2
macosx (lots of little changes)
...n 1 18:14:29 2002
@@ -40,10 +40,11 @@
audio_reopen_arg_t *reopen_arg = (audio_reopen_arg_t *) arg;
audio_device_t *current;
ao_sample_format format;
+ int dummy_o;
/* We DO NOT want to get cancelled part way through this and have our
audio devices in an unknown state */
- pthread_setcancelstate(PTHREAD_CANCEL_DISABLE, NULL);
+ pthread_setcancelstate(PTHREAD_CANCEL_DISABLE, &dummy_o);
<p> close_audio_devices (reopen_arg->devices);
@@ -113,7 +114,7 @@
free(reopen_arg->format);
free(reopen_arg);
- pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, NULL);
+ pthread_...
2011 Nov 07
2
[btrfs-progs: PATCH] scrub: fix build failure by restoring proper library ordering
...btrfslabel.o -static -luuid
scrub.o: In function `scrub_write_progress'':
/home/slyfox/linux-2.6-um-x86_64-fs/btrfs-progs-unstable/scrub.c:752: undefined reference to `pthread_mutex_lock''
/home/slyfox/linux-2.6-um-x86_64-fs/btrfs-progs-unstable/scrub.c:758: undefined reference to `pthread_setcancelstate''
/home/slyfox/linux-2.6-um-x86_64-fs/btrfs-progs-unstable/scrub.c:783: undefined reference to `pthread_mutex_unlock''
/home/slyfox/linux-2.6-um-x86_64-fs/btrfs-progs-unstable/scrub.c:787: undefined reference to `pthread_setcancelstate''
Signed-off-by: Sergei Trofimovich &l...
2006 Apr 04
0
Need help debugging (long)
...;__end_fct == NULL);
(gdb) *__GI___assert_fail (assertion=0xb7d7af44 "step->__end_fct == ((void
*)0)",
file=0xb7d76f11 "gconv_db.c", line=232,
function=0xb7d76f36 "__gconv_release_step") at assert.c:50
50 {
(gdb) 54 FATAL_PREPARE;
(gdb) __pthread_setcancelstate (state=1, oldstate=0x0)
at pthread_setcancelstate.c:29
29 {
(gdb) 32 if (state < PTHREAD_CANCEL_ENABLE || state >
PTHREAD_CANCEL_DISABLE)
(gdb) 37 int oldval = THREAD_GETMEM (self, cancelhandling);
(gdb) 42 : oldval & ~CANCELSTATE_BITMAS...
2011 Jul 18
5
[PATCH v3 0/5] btrfs-progs: scrub interface
This is the next patch series for scrub userland tools.
Change log v1->v2:
- commands now reachable as "btrfs scrub ..." instead of "btrfs filesystem
scrub ..."
- ability to scrub a single device instead of a whole file system
- superfluous command line options removed
- resume is now a separate command ("scrub resume") instead of "scrub start -r"
-
2010 Aug 25
18
Puppet hangs
Hello,
we have one puppet server managing approx servers, all FreeBSD.
The problem is that the puppet clients all hangs, one by one,
eventually. They will run for anything between an hour up to a week.
But eventually the all hang.
We really like puppet and want to keep using it. But the way it is now
is completely unusable. We''ve tried many versions, from 24.x, and now
2.6.1rc1. But