5
Last change
on this file since e4ad14cc was
e4ad14cc,
checked in by Sebastian Huber <sebastian.huber@…>, on 02/12/19 at 11:19:38
|
score: Avoid some deadlocks in _Once()
Recursive usage of the same pthread_once_t results now in a deadlock.
Previously, an error of EINVAL was returned. This usage scenario is
invalid according to the POSIX pthread_once() specification.
Close #3334.
|
-
Property mode set to
100644
|
File size:
566 bytes
|
Line | |
---|
1 | *** BEGIN OF TEST PSXONCE 1 *** |
---|
2 | *** TEST VERSION: 5.0.0.e214ff4b636011bd149e3683c89aa982e361fd1c |
---|
3 | *** TEST STATE: EXPECTED-PASS |
---|
4 | *** TEST BUILD: |
---|
5 | *** TEST TOOLS: 7.4.0 20181206 (RTEMS 5, RSB c41b9d0df7e5b4a5056ca50c2534380a44e92769, Newlib 3e24fbf6f) |
---|
6 | Init: pthread_once - EINVAL (NULL once_control) |
---|
7 | Init: pthread_once - EINVAL (NULL init_routine) |
---|
8 | Init: pthread_once - SUCCESSFUL (init_routine executes) |
---|
9 | Test_init_routine: invoked |
---|
10 | Init: call counter: 1 |
---|
11 | Init: pthread_once - SUCCESSFUL (init_routine does not execute) |
---|
12 | Init: call counter: 1 |
---|
13 | |
---|
14 | *** END OF TEST PSXONCE 1 *** |
---|
Note: See
TracBrowser
for help on using the repository browser.