|
Last change
on this file since 2196 was 2036, checked in by bird, 21 years ago |
|
Initial revision
|
-
Property cvs2svn:cvs-rev
set to
1.1
-
Property svn:eol-style
set to
native
-
Property svn:executable
set to
*
-
Property svn:keywords
set to
Author Date Id Revision
|
|
File size:
410 bytes
|
| Line | |
|---|
| 1 | /* Test that the thread-local locale works right in the main thread
|
|---|
| 2 | when statically linked. */
|
|---|
| 3 |
|
|---|
| 4 | #include "../locale/tst-C-locale.c"
|
|---|
| 5 |
|
|---|
| 6 | #include <pthread.h>
|
|---|
| 7 | #include <signal.h>
|
|---|
| 8 |
|
|---|
| 9 | /* This is never called, just here to get pthreads linked in. */
|
|---|
| 10 | int
|
|---|
| 11 | useless (void)
|
|---|
| 12 | {
|
|---|
| 13 | pthread_create (0, 0, 0, 0);
|
|---|
| 14 | /* This is to check __libc_current_sigrt* can be used in statically
|
|---|
| 15 | linked apps. */
|
|---|
| 16 | return SIGRTMIN;
|
|---|
| 17 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.