ravikumar10 / genyris

Automatically exported from code.google.com/p/genyris
Other
0 stars 0 forks source link

httpd function is reading initial script in the main thread, not the new server thread. #15

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. run
genyris taskid.g

What do you see?  An infinite loop:
dict (.id = 1)
      .name = 'main'
      .state = 'RUNNABLE'
dict (.id = 1)
      .name = 'main'
      .state = 'RUNNABLE'

What is the expected output?

No loop. A single web server task and the REPL.

dict (.id = 1)
      .name = 'main'
      .state = 'RUNNABLE'
*** Welcome birchb, Genyris version tip-810-22b2ae0309a5-b0, home 
c:/workspace/genyris is listening
> dict (.id = 8)
      .name = 'org.genyris.web.GenyrisHTTPD 80 taskid.g'
      .state = 'RUNNABLE'
~ "I'm a child task."

Original issue reported on code.google.com by birchb1...@gmail.com on 12 Oct 2011 at 4:40

Attachments:

GoogleCodeExporter commented 9 years ago
Fix commited in 811 (721f3b881d14) Fix for defect 15 - httpd initialises in 
server thread now.

Original comment by birchb1...@gmail.com on 12 Oct 2011 at 4:52

GoogleCodeExporter commented 9 years ago
Fix in release 0.6.6

Original comment by birchb1...@gmail.com on 12 Oct 2011 at 5:22

GoogleCodeExporter commented 9 years ago

Original comment by birchb1...@gmail.com on 9 Feb 2012 at 10:29

GoogleCodeExporter commented 9 years ago

Original comment by birchb1...@gmail.com on 3 Apr 2013 at 1:37