Searched refs:locks (Results 1 - 17 of 17) sorted by relevance

/haiku-buildtools/gcc/libatomic/config/mingw/
H A Dlock.c38 should be applied to the locks to keep them from interfering. */
43 /* The granularity at which locks are applied. Almost certainly the
59 static struct lock locks[NLOCKS] = { variable in typeref:struct:lock
72 if (!locks[addr_hash (ptr)].mutex)
73 locks[addr_hash (ptr)].mutex = CreateMutex (NULL, FALSE, NULL);
74 WaitForSingleObject (locks[addr_hash (ptr)].mutex, INFINITE);
80 if (locks[addr_hash (ptr)].mutex)
81 ReleaseMutex (locks[addr_hash (ptr)].mutex);
90 /* Don't lock more than all the locks we have. */
96 if (!locks[
[all...]
/haiku-buildtools/gcc/libatomic/config/posix/
H A Dlock.c37 should be applied to the locks to keep them from interfering. */
42 /* The granularity at which locks are applied. Almost certainly the
57 static struct lock locks[NLOCKS] = { variable in typeref:struct:lock
70 pthread_mutex_lock (&locks[addr_hash (ptr)].mutex);
76 pthread_mutex_unlock (&locks[addr_hash (ptr)].mutex);
85 /* Don't lock more than all the locks we have. */
91 pthread_mutex_lock (&locks[h].mutex);
110 pthread_mutex_unlock (&locks[h].mutex);
/haiku-buildtools/binutils/gold/
H A Dcommon.h49 locks(Task_locker*);
H A Dreadsyms.h91 locks(Task_locker*);
158 locks(Task_locker*);
207 locks(Task_locker*);
249 locks(Task_locker*);
294 locks(Task_locker*);
368 locks(Task_locker*);
420 locks(Task_locker*);
467 locks(Task_locker*);
H A Dworkqueue.h60 // Lock all the resources required by the Task, and store the locks
62 // locks are required. This method is only called with the
65 locks(Task_locker*) = 0;
170 // This type of task does not normally hold any locks.
172 locks(Task_locker*) function in class:gold::Task_function
261 // Release the locks for a Task. Return the next Task to run.
H A Dreadsyms.cc71 locks(Task_locker* tl) function in class:gold::Unblock_token
149 // locks here.
152 Read_symbols::locks(Task_locker* tl) function in class:gold::Read_symbols
165 // the token was already added to the list of locks for the task,
583 Add_symbols::locks(Task_locker* tl) function in class:gold::Add_symbols
664 Read_member::locks(Task_locker* tl) function in class:gold::Read_member
700 Check_script::locks(Task_locker* tl) function in class:gold::Check_script
740 Check_library::locks(Task_locker* tl) function in class:gold::Check_library
800 Start_group::locks(Task_locker* tl) function in class:gold::Start_group
834 Finish_group::locks(Task_locke function in class:gold::Finish_group
903 Read_script::locks(Task_locker*) function in class:gold::Read_script
[all...]
H A Ddirsearch.cc181 locks(gold::Task_locker*);
203 // Return the locks to hold. We use a blocker lock to prevent file
207 Dir_cache_task::locks(gold::Task_locker* tl) function in class:__anon544::Dir_cache_task
H A Dworkqueue.cc303 // Get the locks for the task. This must be called while we are
305 t->locks(&tl);
340 // Release the locks for the task. This must be done with the
352 next->locks(&tl);
441 // Release the locks associated with a Task. Return the first
H A Darchive.h444 locks(Task_locker*);
543 locks(Task_locker*);
H A Dlayout.h1474 locks(Task_locker*);
1510 locks(Task_locker*);
1546 locks(Task_locker*);
1586 locks(Task_locker*);
H A Dcommon.cc51 Allocate_commons_task::locks(Task_locker* tl) function in class:gold::Allocate_commons_task
H A Dplugin.h591 locks(Task_locker*);
H A Dreloc.h80 locks(Task_locker*);
120 locks(Task_locker*);
161 locks(Task_locker*);
199 locks(Task_locker*);
H A Dreloc.cc57 Read_relocs::locks(Task_locker* tl) function in class:gold::Read_relocs
127 Gc_process_relocs::locks(Task_locker* tl) function in class:gold::Gc_process_relocs
171 // Return the locks we hold: one on the file, one on the symbol table
175 Scan_relocs::locks(Task_locker* tl) function in class:gold::Scan_relocs
224 Relocate_task::locks(Task_locker* tl) function in class:gold::Relocate_task
H A Darchive.cc1114 Add_archive_symbols::locks(Task_locker* tl) function in class:gold::Add_archive_symbols
1337 Add_lib_group_symbols::locks(Task_locker* tl) function in class:gold::Add_lib_group_symbols
H A Dplugin.cc424 locks(Task_locker* tl) function in class:gold::Plugin_rescan
1394 locks(Task_locker* tl) function in class:gold::Plugin_finish
1429 // locks here.
1432 Plugin_hook::locks(Task_locker*) function in class:gold::Plugin_hook
H A Dlayout.cc271 locks(Task_locker* tl)
5611 Write_sections_task::locks(Task_locker* tl)
5640 Write_data_task::locks(Task_locker* tl)
5666 Write_symbols_task::locks(Task_locker* tl)
5696 Write_after_input_sections_task::locks(Task_locker* tl)

Completed in 242 milliseconds