зеркало из https://github.com/mozilla/pjs.git
make reader-writer locks
This commit is contained in:
Родитель
dfb813bd36
Коммит
c0f09a9163
|
@ -165,6 +165,7 @@ OBJS = \
|
|||
io/$(OBJDIR)/prscanf.$(OBJ_SUFFIX) \
|
||||
io/$(OBJDIR)/prstdio.$(OBJ_SUFFIX) \
|
||||
threads/$(OBJDIR)/prcmon.$(OBJ_SUFFIX) \
|
||||
threads/$(OBJDIR)/prrwlock.$(OBJ_SUFFIX) \
|
||||
threads/$(OBJDIR)/prtpd.$(OBJ_SUFFIX) \
|
||||
linking/$(OBJDIR)/prlink.$(OBJ_SUFFIX) \
|
||||
malloc/$(OBJDIR)/prmalloc.$(OBJ_SUFFIX) \
|
||||
|
|
|
@ -41,12 +41,14 @@ endif
|
|||
ifdef USE_PTHREADS
|
||||
CSRCS = \
|
||||
prcmon.c \
|
||||
prrwlock.c \
|
||||
prtpd.c \
|
||||
$(NULL)
|
||||
else
|
||||
ifdef USE_BTHREADS
|
||||
CSRCS = \
|
||||
prcmon.c \
|
||||
prrwlock.c \
|
||||
prtpd.c \
|
||||
$(NULL)
|
||||
else
|
||||
|
@ -55,6 +57,7 @@ CSRCS = \
|
|||
prdump.c \
|
||||
prmon.c \
|
||||
prsem.c \
|
||||
prrwlock.c \
|
||||
prcthr.c \
|
||||
prtpd.c \
|
||||
$(NULL)
|
||||
|
|
|
@ -99,6 +99,8 @@ CSRCS = \
|
|||
prftest2.c \
|
||||
priotest.c \
|
||||
provider.c \
|
||||
ranfile.c \
|
||||
rwlocktest.c \
|
||||
prpoll.c \
|
||||
ranfile.c \
|
||||
sel_spd.c \
|
||||
|
@ -185,6 +187,9 @@ else
|
|||
LDOPTS = -NOLOGO -DEBUG -DEBUGTYPE:CV -INCREMENTAL:NO
|
||||
LIBPR = $(DIST)/lib/libnspr$(MOD_VERSION).$(LIB_SUFFIX)
|
||||
LIBPLC= $(DIST)/lib/libplc$(MOD_VERSION).$(LIB_SUFFIX)
|
||||
ifdef PROFILE
|
||||
LDOPTS += -PROFILE -MAP
|
||||
endif # profile
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
|
Загрузка…
Ссылка в новой задаче