Commit graph

10 commits

Author SHA1 Message Date
osku
04a6b95788 Add (void*) casts when using the %p printf format specifier.
When using GCC, use __inline__ instead of inline.

Add disabled-by-default logic to configure.in to switch GCC to a strict
C89-mode.
2006-03-16 07:47:55 +00:00
osku
7b9c5bc6a2 sync0arr.c: Fix compilation error on some systems by introducing all
variables at the start of a block.
2006-03-07 12:57:02 +00:00
osku
ac69f8c21b Style cleanups: Convert spaces to tabs, remove trailing whitespace, other
misc cleanups.
2006-02-21 12:37:54 +00:00
marko
de58802cd1 sync_thread_add_level(): Replace the if-else if-else if-...-else
chain with an equivalent switch block.
2006-02-15 09:15:54 +00:00
marko
3dc3f2a83e Replace assertions on constant conditions with preprocessor conditions. 2006-02-15 09:00:03 +00:00
osku
6b530a167a Sync array optimizations, most importantly signal_object changed to not
call os_event_set while holding the sync array mutex.

Idea by Heikki, implementation by Osku, bug-fixes and other changes by
Heikki, and final review and cleanup by Osku.
2006-01-20 17:20:52 +00:00
osku
8993745f05 Do not reset cell->wait_object to NULL when a cell in sync array is freed
since this can lead to problems.
2006-01-18 10:56:36 +00:00
osku
36ef155646 Remove incorrect warning printed in sync0arr.c. 2006-01-17 14:49:11 +00:00
osku
9fad661fea Forward port r121 from branches/5.0:
Optimize sync array behavior by not having the woken threads reserve the
sync array mutex.
2006-01-10 11:38:47 +00:00
osku
2903c72469 Import 5.0 code. 2005-10-27 07:29:40 +00:00