* On BeOS compatible host platforms we must not include BeOSBuildCompatibility.h, but HaikuBuildCompatibility.h. * Fixed errno usage in command_cp.cpp. * Fixed fssh_ioctl(). * fssh_set_sem_owner() doesn't invoke BeOS's set_sem_owner() anymore or otherwise the FS's semaphores are assigned to the kernel. * Commented out <string.h> functions that don't exist under BeOS (and aren't used anyway). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20934 a95241bf-73f2-0310-859d-f6bbb57e9c96
55 lines
762 B
C++
55 lines
762 B
C++
/*
|
|
* Copyright 2007, Ingo Weinhold, [email protected].
|
|
* Distributed under the terms of the MIT License.
|
|
*/
|
|
|
|
#include "compatibility.h"
|
|
|
|
#include "fssh_os.h"
|
|
|
|
#include <OS.h>
|
|
|
|
#include "fssh_errors.h"
|
|
|
|
|
|
fssh_status_t
|
|
fssh_kill_thread(fssh_thread_id thread)
|
|
{
|
|
return kill_thread(thread);
|
|
}
|
|
|
|
|
|
fssh_status_t
|
|
fssh_resume_thread(fssh_thread_id thread)
|
|
{
|
|
return resume_thread(thread);
|
|
}
|
|
|
|
|
|
fssh_status_t
|
|
fssh_suspend_thread(fssh_thread_id thread)
|
|
{
|
|
return suspend_thread(thread);
|
|
}
|
|
|
|
|
|
fssh_thread_id
|
|
fssh_find_thread(const char *name)
|
|
{
|
|
return find_thread(name);
|
|
}
|
|
|
|
|
|
fssh_status_t
|
|
fssh_snooze(fssh_bigtime_t amount)
|
|
{
|
|
return snooze(amount);
|
|
}
|
|
|
|
|
|
fssh_status_t
|
|
fssh_snooze_until(fssh_bigtime_t time, int timeBase)
|
|
{
|
|
return snooze_until(time, timeBase);
|
|
}
|