The Pedigree Project
0.1
src
modules
subsys
posix
sysv-semaphore-syscalls.h
1
/*
2
* Copyright (c) 2026, Pedigree Developers
3
*
4
* Permission to use, copy, modify, and distribute this software for any
5
* purpose with or without fee is hereby granted.
6
*/
7
8
#ifndef POSIX_SYSV_SEMAPHORE_SYSCALLS_H
9
#define POSIX_SYSV_SEMAPHORE_SYSCALLS_H
10
11
#include "pedigree/kernel/processor/types.h"
12
13
class
Thread
;
14
15
int
posix_semget(
int
key,
int
count,
int
flags);
16
int
posix_semop(
int
id
,
const
void
* operations,
size_t
count);
17
int
posix_semtimedop(
int
id
,
const
void
* operations,
size_t
count,
const
void
* timeout);
18
int
posix_semctl(
int
id
,
int
number,
int
command, uintptr_t argument);
19
20
bool
posix_sem_clone(
Thread
* parent,
Thread
* child,
bool
shareUndo);
21
void
posix_sem_thread_exit(
Thread
* thread);
22
23
#endif
Thread
Definition
Thread.h:77
Generated on Sat Oct 3 2026 06:38:05 for The Pedigree Project by
1.9.8