Opened 12 years ago
Closed 12 years ago
#77 closed enhancement (fixed)
Add JOIN-PROCESS
Reported by: | sionescu | Owned by: | somebody |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | Core | Version: | 2013-03-a |
Keywords: | Cc: |
Description
There should be a JOIN-PROCESS function that waits for a process to complete and returns its return value.
The current implementation in Bordeaux-Threads uses (mp:process-wait "..." (lambda () (not (mp:process-alive-p process)))), but that doesn't fulfill the second requirement.
Change History (4)
comment:1 Changed 12 years ago by
comment:2 Changed 12 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
commit 0232d2242e5acf9d1654cd0e4d7883de9e9f4705 Author: Raymond Toy <toy.raymond@…> Date: Sun Mar 24 09:43:33 2013 -0700
Fix ticket:77 by adding the code given in the ticket.
comment:3 Changed 12 years ago by
Resolution: | fixed |
---|---|
Status: | closed → reopened |
Sorry I didn't specify that the code included was copied verbatim from Bordeaux-Threads. I make a proper patch available at https://github.com/sionescu/cmucl/commit/520441523f317e2c72c44c1d33516c3c0ce9da98
comment:4 Changed 12 years ago by
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
commit c94b32f927061d6e7b7ea1ebf92ccdb4c3b1a842 Author: Raymond Toy <toy.raymond@…> Date: Sun Mar 24 20:13:56 2013 -0700
Fix ticket:77 correctly, using the supplied patch link.
I added a workaround to Bordeaux-Threads, but it would be better to have this functionality in CMUCL itself: