summaryrefslogtreecommitdiff
path: root/pthread_support.c
Commit message (Expand)AuthorAgeFilesLines
* Clear GC_thread_key thread-local value on unregistering the threadIvan Maidanski2023-05-151-1/+0
* Use THREAD_ID_EQUAL() to compare thread_id_t valuesIvan Maidanski2023-04-281-2/+2
* Allow to randomly choose a CPU core if AO ops are emulated with locksIvan Maidanski2023-04-251-0/+13
* Use EXPECT() in GC_lookup_thread and GC_lookup_by_pthreadIvan Maidanski2023-04-061-1/+1
* Revert "Remove first_thread/crtn static variables"Ivan Maidanski2023-04-061-63/+79
* Fix signals delivery fail in find-leak mode if init from non-main threadIvan Maidanski2023-04-061-1/+18
* Eliminate null-ptr dereference code defect FP in remove_all_threads_but_meIvan Maidanski2023-03-161-1/+5
* Move platform-dependent getspecific() call to a dedicated functionIvan Maidanski2023-03-101-0/+1
* Fix GC_thread_is_registered for finished threadsIvan Maidanski2023-03-101-1/+3
* Remove MAIN_THREAD flag in GC_threadIvan Maidanski2023-03-091-62/+36
* Fix 'GC_Thread_Rep has no member named fnlz_pad/dummy' compiler errorIvan Maidanski2023-03-081-2/+2
* Remove first_thread/crtn static variablesIvan Maidanski2023-03-071-79/+63
* Define GC_self_thread_inner to lookup GC_thread of current threadIvan Maidanski2023-03-041-46/+35
* Fix a typo in comment of GC_start_rtn_prepare_threadIvan Maidanski2023-02-281-1/+1
* Remove unused DCL_LOCK_STATEIvan Maidanski2023-01-301-20/+0
* Fix mistyped GC_free_inner in comment of GC_remove_all_threads_but_meIvan Maidanski2023-01-171-2/+2
* Fix 'failed to create new win32 semaphore' Cygwin fatal error at forkIvan Maidanski2023-01-021-1/+2
* Fix 'status not a member of GC_Thread_Rep' error in push_thread_structuresIvan Maidanski2023-01-011-1/+4
* Uniform use of GC_lookup_by_pthread in GC_pthread_join/detachIvan Maidanski2022-12-311-15/+7
* Remove redundant assertions about GC_win32_dll_threads in pthread_support.cIvan Maidanski2022-12-311-11/+5
* Use thread_id_self() in GC_pthread_exitIvan Maidanski2022-12-311-2/+2
* Check out-of-memory and set in_thread_creation inside GC_new_threadIvan Maidanski2022-12-311-14/+11
* Use GC_delete_thread instead of GC_delete_gc_thread_no_freeIvan Maidanski2022-12-311-86/+33
* Do not include semaphore.h from pthread_support.c on Orbis and Sony PSPIvan Maidanski2022-12-301-1/+1
* Do not expose GC_nacl_gc_thread_self variable outside pthread_stop_world.cIvan Maidanski2022-12-301-5/+2
* Fix joinable threads shutdown on NaClIvan Maidanski2022-12-301-4/+8
* Ensure GC_StackContext_Rep object allocated in GC_new_thread is markedIvan Maidanski2022-12-291-0/+14
* Fix 'failed to get stack size for assertion' warning if winpthreads usedIvan Maidanski2022-12-201-3/+3
* Fix infinite wait in pthread_join/detach if thread already finished (Win32)Ivan Maidanski2022-12-201-68/+24
* Disallow explicit unregister of non-main thread if registered by DllMainIvan Maidanski2022-12-191-21/+10
* Move stack-related fields out of GC_thread to GC_stack_context_tIvan Maidanski2022-12-111-92/+144
* Eliminate 'cast signed to bigger unsigned' CSA warning in GC_new_threadIvan Maidanski2022-12-091-2/+2
* Fix 'GC_write called with write_disabled' assertion in GC_suspendIvan Maidanski2022-12-091-2/+4
* Remove main_altstack group of static variablesIvan Maidanski2022-12-071-22/+7
* Avoid code duplication between pthread_support.c and win32_threads.cIvan Maidanski2022-12-061-629/+969
* Fix use of unset errno after pthread_sigmask callsIvan Maidanski2022-11-131-4/+2
* Eliminate 'cast signed to bigger unsigned' CSA warning in WARN callsIvan Maidanski2022-11-011-6/+10
* Eliminate 'boolean result used in bitwise op' cppcheck FP in GC_thr_initIvan Maidanski2022-10-191-1/+1
* Adjust comments referring glibc versionIvan Maidanski2022-10-191-2/+2
* Do not free entry in GC_delete_gc_thread to match that on Win32Ivan Maidanski2022-10-191-7/+9
* Do not define GC_pthread_start/exit for Orbis and Sony PSPIvan Maidanski2022-10-191-116/+121
* Move pthread_atfork() call to a separate functionIvan Maidanski2022-10-191-143/+146
* Rename GC_[inner_]start_routine to match that for Win32Ivan Maidanski2022-10-171-6/+6
* Change type of GC_collecting variable to match atomic operations over itIvan Maidanski2022-10-171-8/+7
* Use register_my_thread_inner to add initial thread in pthread_support.cIvan Maidanski2022-10-141-79/+74
* Use EXPECT() in checks of MAIN_THREAD bitIvan Maidanski2022-10-141-15/+15
* Remove main_pthread_id variableIvan Maidanski2022-10-141-4/+2
* Fix missing result check of pthread_attr_getdetachstate in pthread_createIvan Maidanski2022-10-111-1/+2
* Include gc_inline.h from gc_priv.hIvan Maidanski2022-10-111-2/+0
* Remove GC_mark_threads variableIvan Maidanski2022-10-061-4/+4