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

 
 

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

Submitter:  None
Submitted:  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: 
* Mandatory Fields

Add a New Comment Rich Markup
   

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

Fixed in recent snapshots.

Chris Hanson <cph>
Group 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

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

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.13-d3ae.
Corresponding source code