[inferno-npe] push by extrudedaluminiu - Remove 5ms timeout from DragonFly block/ready routines. on 2010-10-29 04:27 GMT

2 views
Skip to first unread message

infer...@googlecode.com

unread,
Oct 29, 2010, 12:28:26 AM10/29/10
to inferno-n...@googlegroups.com
Revision: 3040d0447f
Author: Venkatesh Srinivas <m...@acm.jhu.edu>
Date: Thu Oct 28 21:24:47 2010
Log: Remove 5ms timeout from DragonFly block/ready routines.
http://code.google.com/p/inferno-npe/source/detail?r=3040d0447f

Modified:
/Linux/386/bin/data2c
/Linux/386/bin/iyacc
/Linux/386/bin/mk
/Linux/386/bin/mkext
/dis/alphabet/grid/local.dis
/emu/DragonFly/os.c
/libinterp/runt.h
/mkconfig

=======================================
--- /Linux/386/bin/data2c Tue Aug 3 13:19:46 2010
+++ /Linux/386/bin/data2c Thu Oct 28 21:24:47 2010
Binary file, no diff available.
=======================================
--- /Linux/386/bin/iyacc Tue Aug 3 13:19:46 2010
+++ /Linux/386/bin/iyacc Thu Oct 28 21:24:47 2010
Binary file, no diff available.
=======================================
--- /Linux/386/bin/mk Tue Aug 3 13:19:46 2010
+++ /Linux/386/bin/mk Thu Oct 28 21:24:47 2010
Binary file, no diff available.
=======================================
--- /Linux/386/bin/mkext Tue Aug 3 13:19:46 2010
+++ /Linux/386/bin/mkext Thu Oct 28 21:24:47 2010
Binary file, no diff available.
=======================================
--- /dis/alphabet/grid/local.dis Fri Dec 22 12:52:35 2006
+++ /dis/alphabet/grid/local.dis Thu Oct 28 21:24:47 2010
Binary file, no diff available.
=======================================
--- /emu/DragonFly/os.c Thu Oct 28 13:07:36 2010
+++ /emu/DragonFly/os.c Thu Oct 28 21:24:47 2010
@@ -282,7 +282,7 @@
return;

while((int) up->os == -1)
- umtx_sleep(&up->os, -1, 1000 * 5);
+ umtx_sleep(&up->os, -1, 0);
}

void
=======================================
--- /libinterp/runt.h Tue Oct 26 17:37:48 2010
+++ /libinterp/runt.h Thu Oct 28 21:24:47 2010
@@ -1,3 +1,5 @@
+#pragma hjdicks x4
+#pragma pack x4
typedef struct Sys_Qid Sys_Qid;
typedef struct Sys_Dir Sys_Dir;
typedef struct Sys_FD Sys_FD;
@@ -3998,3 +4000,5 @@
#define Freetype_PATH "$Freetype"
#define Freetype_STYLE_ITALIC 1
#define Freetype_STYLE_BOLD 2
+#pragma pack off
+#pragma hjdicks off
=======================================
--- /mkconfig Tue Oct 26 18:40:11 2010
+++ /mkconfig Thu Oct 28 21:24:47 2010
@@ -5,7 +5,7 @@

# On Nt systems, the ROOT path MUST be of the form `drive:/path'
#ROOT=/usr/inferno
-ROOT=$HOME/Desktop/inferno-npe
+ROOT=$HOME/inferno-npe

#
# Specify the flavour of Tk (std for standard builds)
@@ -16,16 +16,15 @@
# Except for building kernels, SYSTARG must always be the same as SYSHOST
#
#SYSHOST=Plan9 # build system OS type (Inferno, Irix, Linux, MacOSX, Nt,
Plan9, Solaris)
-SYSHOST=MacOSX
+SYSHOST=Linux
SYSTARG=$SYSHOST # target system OS type (Inferno, Irix, Linux, MacOSX,
Nt, Plan9, Solaris)

#
# specify the architecture of the target system - Plan 9 imports it from
the
# environment; for other systems it is usually just hard-coded
#
-#OBJTYPE=386 # target system object type (eg, 386, arm, mips, power,
s800, sparc)
+OBJTYPE=386 # target system object type (eg, 386, arm, mips, power,
s800, sparc)
#OBJTYPE=$objtype
-OBJTYPE=power

#
# no changes required beyond this point

Reply all
Reply to author
Forward
0 new messages