Displaying 4 results from an estimated 4 matches for "pthread_cancel_disable".
2002 Jan 02
2
macosx (lots of little changes)
...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_setcancelstate(PTHREAD_...
2002 Jan 02
2
macosx (lots of little changes)
...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_setcancelstate(PTHREAD_...
2006 Apr 04
0
Need help debugging (long)
...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_BITMASK);
(gdb) 45 if (oldstate != NULL)
(gdb) 52 if (oldval == newval)
(gdb) 57 int curval = THREAD_ATOMIC_CMPXCHG_VAL (self,
cancelhan...
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"
-