|
|
1.1 root 1: //
2: // nono
3: // Copyright (C) 2020 nono project
4: // Licensed under nono-license.txt
5: //
6:
1.1.1.2 ! root 7: //
1.1 root 8: // pthread の OS ごとに違う部分を吸収する
1.1.1.2 ! root 9: //
1.1 root 10:
11: #pragma once
12:
13: #include "header.h"
1.1.1.2 ! root 14: #include <pthread.h>
1.1 root 15:
1.1.1.2 ! root 16: extern int PTHREAD_SETNAME(const char *name);
! 17: extern std::string PTHREAD_GETNAME(pthread_t thread = pthread_self());
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.