diff options
author | rpj <rpj> | 2001-10-25 13:24:58 +0000 |
---|---|---|
committer | rpj <rpj> | 2001-10-25 13:24:58 +0000 |
commit | 222a76c37c89ee37eebecd53dd32fd481245e6fa (patch) | |
tree | 160ed8d069da4d9e94b16c436943def676e355c5 /tests | |
parent | 7b714286cfd65e797364fbdc583e13adba71a2ee (diff) |
* barrier.c: Move _LONG and _LPLONG defines into
implement.h; rename to PTW32_INTERLOCKED_LONG and
PTW32_INTERLOCKED_LPLONG respectively.
* spin.c: Likewise; ptw32_interlocked_compare_exchange used
in place of InterlockedCompareExchange directly.
* global.c (ptw32_interlocked_compare_exchange): Add
prototype for this new routine pointer to be used when
InterlockedCompareExchange isn't supported by Windows.
* nonportable.c (pthread_win32_process_attach_np): Check for
support of InterlockedCompareExchange in kernel32 and assign its
address to ptw32_interlocked_compare_exchange if it exists, or
our own ix86 specific implementation ptw32_InterlockedCompareExchange.
*private.c (ptw32_InterlockedCompareExchange): An
implementation of InterlockedCompareExchange() which is
specific to ix86; written directly in assembler for either
MSVC or GNU C; needed because Windows 95 doesn't support
InterlockedCompareExchange().
* sched.c (sched_get_priority_min): Extend to return
THREAD_PRIORITY_IDLE.
(sched_get_priority_max): Extend to return
THREAD_PRIORITY_CRITICAL.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/GNUmakefile | 3 | ||||
-rw-r--r-- | tests/Makefile | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/tests/GNUmakefile b/tests/GNUmakefile index d62e45c..8e06c68 100644 --- a/tests/GNUmakefile +++ b/tests/GNUmakefile @@ -53,7 +53,7 @@ TESTS = loadfree \ exception1 exception2 exception3 BENCHTESTS = \ - benchtest1 benchtest2 benchtest3 benchtest4 + benchtest1 benchtest2 benchtest3 benchtest4 benchtest5 PASSES = $(TESTS:%=%.pass) BENCHRESULTS = $(BENCHTESTS:%=%.bench) @@ -91,6 +91,7 @@ benchtest1.bench: benchtest2.bench: benchtest3.bench: benchtest4.bench: +benchtest5.bench: barrier1.pass: barrier2.pass: barrier1.pass diff --git a/tests/Makefile b/tests/Makefile index dba30d3..1a7b6bf 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -62,7 +62,7 @@ PASSES= loadfree.pass \ exception1.pass exception2.pass exception3.pass
BENCHRESULTS = \
- benchtest1.bench benchtest2.bench benchtest3.bench benchtest4.bench
+ benchtest1.bench benchtest2.bench benchtest3.bench benchtest4.bench benchtest5.bench
all:
@ $(ECHO) Run one of the following command lines:
@@ -147,6 +147,7 @@ benchtest1.bench: benchtest2.bench:
benchtest3.bench:
benchtest4.bench:
+benchtest5.bench:
barrier1.pass:
barrier2.pass: barrier1.pass
barrier3.pass: barrier2.pass
|