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: runtimeSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Suboptimal behavior
Status: FixedPrivacy: Public
Assigned to: NoneOriginator Name: 
Originator Email: -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 File(s):
   
   
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 click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 4 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Mon 24 Oct 2005 01:41:20 AM UTCcphStatusNone=>Fixed
  Open/ClosedOpen=>Closed
Tue 21 Sep 2004 06:27:21 AM UTCsavannah-arthurAttached File-=>Added foo.txt, #1690
Tue 21 Sep 2004 06:23:35 AM UTCsavannah-arthurCarbon-Copy-=>Added savannah-arthur

Back to the top


Powered by Savane 3.1-cleanup1