| 1 | /* $Id: waitqueue.c,v 1.1 2000/04/23 14:55:39 ktk Exp $ */
|
|---|
| 2 |
|
|---|
| 3 | //******************************************************************************
|
|---|
| 4 | // OS/2 implementation of Linux wait queue kernel services (stubs)
|
|---|
| 5 | //
|
|---|
| 6 | // Copyright 2000 Sander van Leeuwen (sandervl@xs4all.nl)
|
|---|
| 7 | //
|
|---|
| 8 | // This program is free software; you can redistribute it and/or
|
|---|
| 9 | // modify it under the terms of the GNU General Public License as
|
|---|
| 10 | // published by the Free Software Foundation; either version 2 of
|
|---|
| 11 | // the License, or (at your option) any later version.
|
|---|
| 12 | //
|
|---|
| 13 | // This program is distributed in the hope that it will be useful,
|
|---|
| 14 | // but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|---|
| 15 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|---|
| 16 | // GNU General Public License for more details.
|
|---|
| 17 | //
|
|---|
| 18 | // You should have received a copy of the GNU General Public
|
|---|
| 19 | // License along with this program; if not, write to the Free
|
|---|
| 20 | // Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139,
|
|---|
| 21 | // USA.
|
|---|
| 22 | //
|
|---|
| 23 | //******************************************************************************
|
|---|
| 24 | #include "hwaccess.h"
|
|---|
| 25 | #include <linux/init.h>
|
|---|
| 26 | #include <linux/poll.h>
|
|---|
| 27 | #include <asm/uaccess.h>
|
|---|
| 28 | #include <asm/hardirq.h>
|
|---|
| 29 |
|
|---|
| 30 |
|
|---|
| 31 | void init_waitqueue_head(wait_queue_head_t *q)
|
|---|
| 32 | {
|
|---|
| 33 |
|
|---|
| 34 | }
|
|---|
| 35 |
|
|---|
| 36 | void add_wait_queue(wait_queue_head_t *q, wait_queue_t * wait)
|
|---|
| 37 | {
|
|---|
| 38 | }
|
|---|
| 39 |
|
|---|
| 40 | void add_wait_queue_exclusive(wait_queue_head_t *q)
|
|---|
| 41 | {
|
|---|
| 42 | }
|
|---|
| 43 |
|
|---|
| 44 | void remove_wait_queue(wait_queue_head_t *q, wait_queue_t * wait)
|
|---|
| 45 | {
|
|---|
| 46 | }
|
|---|
| 47 |
|
|---|
| 48 | long interruptible_sleep_on_timeout(wait_queue_head_t *q, signed long timeout)
|
|---|
| 49 | {
|
|---|
| 50 | return 1;
|
|---|
| 51 | }
|
|---|
| 52 |
|
|---|
| 53 | void interruptible_sleep_on(wait_queue_head_t *q)
|
|---|
| 54 | {
|
|---|
| 55 |
|
|---|
| 56 | }
|
|---|
| 57 |
|
|---|
| 58 | void __wake_up(wait_queue_head_t *q, unsigned int mode)
|
|---|
| 59 | {
|
|---|
| 60 |
|
|---|
| 61 | }
|
|---|
| 62 |
|
|---|