mirror of
https://github.com/dlang/phobos.git
synced 2025-05-13 07:39:15 +03:00
FreeBSD port
This commit is contained in:
parent
0be7d89863
commit
cd79ee5861
26 changed files with 2354 additions and 34 deletions
|
@ -1,10 +1,17 @@
|
|||
/* Written by Walter Bright, Christopher E. Miller, and many others.
|
||||
* www.digitalmars.com
|
||||
* http://www.digitalmars.com
|
||||
* Placed into public domain.
|
||||
*/
|
||||
|
||||
module std.c.linux.pthread;
|
||||
|
||||
version (FreeBSD)
|
||||
{
|
||||
public import std.c.freebsd.pthread;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
import std.c.linux.linux;
|
||||
|
||||
extern (C):
|
||||
|
@ -386,3 +393,5 @@ version(linux)
|
|||
void _pthread_cleanup_push_defer(_pthread_cleanup_buffer*, void function(void*), void*);
|
||||
void _pthread_cleanup_pop(_pthread_cleanup_buffer*, int);
|
||||
void _pthread_cleanup_pop_restore(_pthread_cleanup_buffer*, int);
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue