bugMIT/GNU Scheme - Bugs: bug #10458, Can't create threads from --eval...

 
 

bug #10458: Can't create threads from --eval command-line option.

Submitted by:  None
Submitted on:  Tue 21 Sep 2004 06:14:45 AM UTC  
 
Category:  runtime Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Suboptimal behavior
Status:  Fixed Privacy:  Public
Assigned to:  None Originator Name: 
Originator Email:  -email is unavailable- Open/Closed:  Closed
Keywords: 

Add a New Comment (Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Mon 24 Oct 2005 01:41:20 AM UTC, comment #2: 

Fixed in recent snapshots.

Chris Hanson <cph>
Project Administrator
Tue 21 Sep 2004 06:29:35 AM UTC, comment #1: 

The same problem is true of --load.  Putting the same infinite-output loop in a separate file and loading it using --load has no effect, but loading it from the REPL results in the expected output.

Arthur A. Gleckler <savannah-arthur>
Tue 21 Sep 2004 06:14:45 AM UTC, original submission:  

I've written a server that I would like to start automatically when MIT Scheme starts.  I'm trying to automate this using the --eval command-line option, but the thread that the server starts seems to exit right away -- or at least to get no time slices.  The same thread, started from the REPL, works just fine.

I've tried a simpler example that just starts an infinite output loop, with the same results.  See the attached file for an example.  I've also tried experimenting with the first argument to `create-thread' and with removing the use of `detach-thread,' but without success.

I'm trying to figure out why --eval has this behavior, but haven't had any success.  I'd be grateful for any hints.  I'll keep working on this in any case.

Thanks!

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #1786:  foo.txt added by savannah-arthur (2KiB - text/plain - transcript of thread-creation experiment)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

 

 

Follow 4 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2005-10-24 cph StatusNone => Fixed
    Open/ClosedOpen => Closed
2004-09-21 savannah-arthur Attached File- => Added foo.txt, #1690
2004-09-21 savannah-arthur Carbon-Copy- => Added savannah-arthur

Back to the top


Powered by Savane 3.5