search for: pthread_once_init

Displaying 5 results from an estimated 5 matches for "pthread_once_init".

2008 May 22
0
[PATCH] stubdom: fix and clean pthread minimal support
...ointer; + return 0; +} +static inline void *pthread_getspecific(pthread_key_t key) +{ + return key->ptr; +} +static inline int pthread_key_delete(pthread_key_t key) +{ + free(key); + return 0; +} + + + +typedef struct {} pthread_mutex_t; #define PTHREAD_MUTEX_INITIALIZER {} -#define PTHREAD_ONCE_INIT {} static inline int pthread_mutex_lock(pthread_mutex_t *mutex) { return 0; } static inline int pthread_mutex_unlock(pthread_mutex_t *mutex) { return 0; } -static inline int pthread_key_create(pthread_key_t *key, void (*destr_function)(void*)) { *key = NULL; return 0; } -static inline int pthread...
2012 Sep 04
1
Repeated Asterisk 10.7.0 crashes
I'm getting cycles of repeated crashes which occur and then stop occurring. Looking at the dumps via gdb shows that something peculiar is happening that looks like memory corruption: Program terminated with signal 6, Aborted. #0 0x0000003686e30285 in raise () from /lib64/libc.so.6 (gdb) up #1 0x0000003686e31d30 in abort () from /lib64/libc.so.6 (gdb) up #2 0x0000003686e6971b in
2010 Jan 15
0
Asterisk 1.6.0.21 Now Available
...a single argument, don't crash when the second is used. (Closes issue #16504. Reported by bklang. Patched by tilghman.) * Avoid a crash with large numbers of MeetMe conferences. (Closes issue #16509. Reported by Kashif Raza. Tested, Patched by seanbright.) * Try a test compile to see if PTHREAD_ONCE_INIT requires extra braces (for Solaris 10). (Patched by seanbright.) * Allow "REMAINDER" to function properly in expressions. (Closes issue #16427. Reported, Patched by wdoekes.) * Shut down the SIP session timers more gracefully, in order to prevent a possible crash. (Report...
2010 Jan 15
0
Asterisk 1.6.0.21 Now Available
...a single argument, don't crash when the second is used. (Closes issue #16504. Reported by bklang. Patched by tilghman.) * Avoid a crash with large numbers of MeetMe conferences. (Closes issue #16509. Reported by Kashif Raza. Tested, Patched by seanbright.) * Try a test compile to see if PTHREAD_ONCE_INIT requires extra braces (for Solaris 10). (Patched by seanbright.) * Allow "REMAINDER" to function properly in expressions. (Closes issue #16427. Reported, Patched by wdoekes.) * Shut down the SIP session timers more gracefully, in order to prevent a possible crash. (Report...
2018 Jun 08
4
vanilla build of 7.7p1 release on linux/4.17 fails with gcc8 @ "/usr/bin/ld: unrecognized option '-Wl,-z,retpolineplt'"
On 8 June 2018 at 11:21, PGNet Dev <pgnet.dev at gmail.com> wrote: > fyi > > add'l -- and looks unrelated -- issue > /usr/include/pthread.h:251:12: note: previous declaration of ?pthread_join? was here > extern int pthread_join (pthread_t __th, void **__thread_return); What included pthread.h? That's explicitly not supported by sshd: $ grep THREAD