home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
lxapi32.zip
/
SKELETON
/
Lib32
/
kmod.c
< prev
next >
Wrap
C/C++ Source or Header
|
2002-04-26
|
447b
|
25 lines
/* $Id: kmod.c,v 1.2 2002/04/26 23:09:41 smilcke Exp $ */
/*
* kmod.c
* Autor: Stefan Milcke
* Erstellt am: 31.10.2001
* Letzte Aenderung am: 12.11.2001
*
*/
#include <linux/wait.h>
#include <asm/semaphor.h>
//static DECLARE_MUTEX(dev_probe_sem);
static struct semaphore dev_probe_sem;
void dev_probe_lock(void)
{
down(&dev_probe_sem);
}
void dev_probe_unlock(void)
{
up(&dev_probe_sem);
}