parent
9540fc5962
commit
a245bd6e99
|
@ -1,3 +1,8 @@
|
|||
2003-08-30 Christopher Faylor <cgf@redhat.com>
|
||||
|
||||
* msg.cc: New file.
|
||||
* sem.cc: Ditto.
|
||||
|
||||
2003-08-30 Christopher Faylor <cgf@redhat.com>
|
||||
|
||||
* threaded_queue.h: New file.
|
||||
|
|
|
@ -37,8 +37,8 @@ override CXXFLAGS+=-fno-exceptions -fno-rtti -DHAVE_DECL_GETOPT=0 -D__OUTSIDE_CY
|
|||
|
||||
include $(srcdir)/../Makefile.common
|
||||
|
||||
OBJS:= cygserver.o client.o process.o shm.o threaded_queue.o transport.o \
|
||||
transport_pipes.o transport_sockets.o
|
||||
OBJS:= cygserver.o client.o process.o msg.o sem.o shm.o threaded_queue.o \
|
||||
transport.o transport_pipes.o transport_sockets.o
|
||||
LIBOBJS:=${patsubst %.o,lib%.o,$(OBJS)}
|
||||
|
||||
CYGWIN_OBJS:=$(cygwin_build)/smallprint.o $(cygwin_build)/version.o \
|
||||
|
|
|
@ -0,0 +1,47 @@
|
|||
/* msg.cc: Single unix specification IPC interface for Cygwin.
|
||||
|
||||
Copyright 2002 Red Hat, Inc.
|
||||
|
||||
Written by Conrad Scott <conrad.scott@dsl.pipex.com>.
|
||||
|
||||
This file is part of Cygwin.
|
||||
|
||||
This software is a copyrighted work licensed under the terms of the
|
||||
Cygwin license. Please consult the file "CYGWIN_LICENSE" for
|
||||
details. */
|
||||
|
||||
#include "winsup.h"
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <cygwin/msg.h>
|
||||
|
||||
|
||||
#include "cygerrno.h"
|
||||
|
||||
extern "C" int
|
||||
msgctl (int msqid, int cmd, struct msqid_ds *buf)
|
||||
{
|
||||
set_errno (ENOSYS);
|
||||
return -1;
|
||||
}
|
||||
|
||||
extern "C" int
|
||||
msgget (key_t key, int msgflg)
|
||||
{
|
||||
set_errno (ENOSYS);
|
||||
return -1;
|
||||
}
|
||||
|
||||
extern "C" ssize_t
|
||||
msgrcv (int msqid, void *msgp, size_t msgsz, long msgtyp, int msgflg)
|
||||
{
|
||||
set_errno (ENOSYS);
|
||||
return -1;
|
||||
}
|
||||
|
||||
extern "C" int
|
||||
msgsnd (int msqid, const void *msgp, size_t msgsz, int msgflg)
|
||||
{
|
||||
set_errno (ENOSYS);
|
||||
return -1;
|
||||
}
|
|
@ -0,0 +1,40 @@
|
|||
/* sem.cc: Single unix specification IPC interface for Cygwin.
|
||||
|
||||
Copyright 2002 Red Hat, Inc.
|
||||
|
||||
Written by Conrad Scott <conrad.scott@dsl.pipex.com>.
|
||||
|
||||
This file is part of Cygwin.
|
||||
|
||||
This software is a copyrighted work licensed under the terms of the
|
||||
Cygwin license. Please consult the file "CYGWIN_LICENSE" for
|
||||
details. */
|
||||
|
||||
#include "winsup.h"
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <cygwin/sem.h>
|
||||
|
||||
|
||||
#include "cygerrno.h"
|
||||
|
||||
extern "C" int
|
||||
semctl (int semid, int semnum, int cmd, ...)
|
||||
{
|
||||
set_errno (ENOSYS);
|
||||
return -1;
|
||||
}
|
||||
|
||||
extern "C" int
|
||||
semget (key_t key, int nsems, int semflg)
|
||||
{
|
||||
set_errno (ENOSYS);
|
||||
return -1;
|
||||
}
|
||||
|
||||
extern "C" int
|
||||
semop (int semid, struct sembuf *sops, size_t nsops)
|
||||
{
|
||||
set_errno (ENOSYS);
|
||||
return -1;
|
||||
}
|
Loading…
Reference in New Issue