Implemented send_data/receive_data/has_data thread syscalls

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@815 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
lillo
2002-08-19 08:28:39 +00:00
parent a215064d68
commit 615a79cc3c
8 changed files with 240 additions and 16 deletions
+3 -3
View File
@@ -196,11 +196,11 @@ thread_id find_thread(const char *name);
#define get_team_usage_info(tmid, who, info) _get_team_usage_info((tmid), (who), (info), sizeof(*(info)))
*/
// TO DO
// OK
status_t send_data(thread_id thread, int32 code, const void *buf, size_t buffer_size);
// TO DO
// OK
status_t receive_data(thread_id *sender, void *buf, size_t buffer_size);
// TO DO
// OK
bool has_data(thread_id thread);
// TO DO
status_t snooze(bigtime_t microseconds);