Last change
on this file since 413 was 398, checked in by coas-nagasima, 5 years ago |
mbedTLS版Azure IoT Hub接続サンプルのソースコードを追加
|
-
Property svn:eol-style
set to
native
-
Property svn:mime-type
set to
text/x-csrc;charset=UTF-8
|
File size:
246 bytes
|
Rev | Line | |
---|
[398] | 1 | #include "pthread_impl.h"
|
---|
| 2 | #include <threads.h>
|
---|
| 3 |
|
---|
| 4 | int tss_set(tss_t k, void *x)
|
---|
| 5 | {
|
---|
| 6 | struct pthread *self = __pthread_self();
|
---|
| 7 | /* Avoid unnecessary COW */
|
---|
| 8 | if (self->tsd[k] != x) {
|
---|
| 9 | self->tsd[k] = x;
|
---|
| 10 | self->tsd_used = 1;
|
---|
| 11 | }
|
---|
| 12 | return thrd_success;
|
---|
| 13 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.