[1214] in Coldmud discussion meeting
[COLD] Pause, suspend and re-entrancy....
daemon@ATHENA.MIT.EDU (Fri Jan 17 03:34:19 1997
)
Date: Fri, 17 Jan 1997 00:25:18 -0800
From: Jeff Kesselman <jeffk@ten.net>
To: coldstuff@cold.org
------------EB86584437A8
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=us-ascii
Something ocurred to me the other night.....
What prevents Genesis from re-entering an object with a Paused or
Suspended method on another thread? Seems pretty dangerous unless there
is a JAVA like "monitor" than can be sued for synchronization.
Oh, and on another subject....
The Interperter currently does a C function call through a dispatch
table for EVERY opcode. I suspect by judicious in-lining with a
switch() statement in teh execute() function of the most common
operators (things like +, -,++,--) we could SIGNIFICANTLY improve
performance..... a C-call per fundemental math op is really kinda sick
and totally unecessary, IMO.
JK
------------------------------------------------------------------------
------------EB86584437A8
Content-Transfer-Encoding: 7bit
Content-Type: text/html; charset=us-ascii
<HTML><BODY>
<DT> Something ocurred to me the other night.....</DT>
<DT> </DT>
<DT>What prevents Genesis from re-entering an object with a Paused or Suspended
method on another thread? Seems pretty dangerous unless there is
a JAVA like "monitor" than can be sued for synchronization.</DT>
<DT> </DT>
<DT>Oh, and on another subject....</DT>
<DT> </DT>
<DT>The Interperter currently does a C function call through a dispatch
table for EVERY opcode. I suspect by judicious in-lining with a switch()
statement in teh execute() function of the most common operators (things
like +, -,++,--) we could SIGNIFICANTLY improve performance.....
a C-call per fundemental math op is really kinda sick and totally unecessary,
IMO.</DT>
<DT> </DT>
<DT>JK
<HR WIDTH="100%"></DT>
</BODY>
</HTML>
------------EB86584437A8--