Last change
on this file since 388 was 388, checked in by coas-nagasima, 5 years ago |
Azure IoT Hub Device C SDK を使ったサンプルの追加
|
-
Property svn:eol-style
set to
native
-
Property svn:keywords
set to
Id
-
Property svn:mime-type
set to
text/x-csrc
|
File size:
399 bytes
|
Rev | Line | |
---|
[388] | 1 | #include "pthread_impl.h"
|
---|
| 2 | #include <threads.h>
|
---|
| 3 | #include "libc.h"
|
---|
| 4 |
|
---|
| 5 | static pthread_t __pthread_self_internal()
|
---|
| 6 | {
|
---|
| 7 | return __pthread_self();
|
---|
| 8 | }
|
---|
| 9 |
|
---|
| 10 | #ifndef __c2__
|
---|
| 11 | weak_alias(__pthread_self_internal, pthread_self);
|
---|
| 12 | weak_alias(__pthread_self_internal, thrd_current);
|
---|
| 13 | #else
|
---|
| 14 | pthread_t pthread_self()
|
---|
| 15 | {
|
---|
| 16 | return __pthread_self_internal();
|
---|
| 17 | }
|
---|
| 18 |
|
---|
| 19 | pthread_t thrd_current()
|
---|
| 20 | {
|
---|
| 21 | return __pthread_self_internal();
|
---|
| 22 | }
|
---|
| 23 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.