summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxspin01/psxspin01.scn
blob: dae970f1a0c9bd682089c1f9478c480b9da2f517 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
*** BEGIN OF TEST PSXSPIN 1 ***
pthread_spin_init( &spinlock, PTHREAD_PROCESS_PRIVATE ) -- OK
pthread_spin_destroy( &spinlock ) -- OK
pthread_spin_init( &spinlock, PTHREAD_PROCESS_SHARED ) -- OK
pthread_spin_destroy( &spinlock ) -- OK
pthread_spin_init( &spinlock, 0x1234 ) -- OK
pthread_spin_init( &spinlock2, 0 ) -- OK
pthread_spin_lock( &spinlock ) -- OK
pthread_spin_lock( &spinlock2 ) -- OK
pthread_spin_unlock( &spinlock2 ) -- OK
pthread_spin_unlock( &spinlock ) -- OK
pthread_spin_trylock( &spinlock ) -- OK
pthread_spin_trylock( &spinlock2 ) -- OK
pthread_spin_unlock( &spinlock2 ) -- OK
pthread_spin_unlock( &spinlock ) -- OK
pthread_spin_destroy( &spinlock2 ) -- OK
pthread_spin_destroy( &spinlock ) -- OK
*** END OF TEST PSXSPIN 1 ***