2 Copyright © 1995-2014, The AROS Development Team. All rights reserved.
6 #include <aros/libcall.h>
7 #include <proto/exec.h>
9 #include "hostlib_intern.h"
11 /*****************************************************************************
14 #include <proto/hostlib.h>
16 AROS_LH0(void, HostLib_Lock
,
21 struct HostLibBase
*, HostLibBase
, 7, HostLib
)
24 Acquire global host OS call semaphore.
33 Host OS calls are typically not reentrant. You have to
34 call this function before you may use any host OS API.
35 Use HostLib_Unlock() function when you're done with it.
37 This function has negative impact on AROS multitasking, so
48 The actual implementation of this function depends on
49 the host OS. Do not assume anything particular about it.
50 For example under Windows it's Forbid(), not a semaphore.
52 *****************************************************************************/