questions about threads

From: Dr. Roger Dube <rogerdube_at_dathq.com>
Date: Fri, 4 Aug 2006 10:50:09 -0400

We are using threads for specific subtasks in some code, and we have some
questions.

1. What is the significance of the 4096 B TCB space allocated to a
thread? How would we know when we need to make it bigger?
2. ACTIVATE returns something to the stack, but the book does not say
it should – what is the significance of this value? How do we know if the
thread has been started successfully?
3. How do we pass a value to a thread without using a global variable?
4. When we KILL a thread, we get something back on the stack, even
though the documentation does not say that… can someone tell us the
significance of that information?

Thanks!

- Roger

--------------------------------------------
Dr. Roger Dube
President and Chief Scientist
Digital Authentication Technologies, Inc.
HYPERLINK "http://www.dathq.com/"http://www.datHQ.com

1900 Glades Road
Suite 441
Boca Raton, FL 33431-7333

phone: 561.392.7404

cell: 561.859.4283
eFax : 561.892.2474
email: rogerdubeHYPERLINK "mailto:rogerdube_at_datHQ.com"@datHQ.com

--------------------------------------------------------
This email message is for the sole use of the intended recipient(s) and may
contain confidential and privileged information. Any unauthorized review,
use, disclosure or distribution is prohibited. If you are not the intended
recipient, please contact the sender by reply email and destroy all copies
of the original message. Any views expressed in this message are those of
the individual sender, except where the sender specifically states them to
be the views of Digital Authentication Technologies, Inc.

--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.10.5/407 - Release Date: 8/3/2006
----------------------------------------------------------------------
sftalk_at_forth.com      The SwiftForth programming discussion email list
To unsubscribe, send subject "unsubscribe" to sftalk-request_at_forth.com
For list command help, send subject "help" to sftalk-request_at_forth.com
Message archives are located at http://www.forth.com/archive/sftalk
----------------------------------------------------------------------
This list is a forum for SwiftForth users.  For product support and bug
reports, please send email to support_at_forth.com
----------------------------------------------------------------------
Received on Fri Aug 04 2006 - 07:51:02 PDT

Subscribe to our e-mail list service. It's free for all SwiftForth and SwiftX users!

This archive was generated 09-Feb-2012. Archive updated nightly.