Skip to content

Commit

Permalink
changing how the dead context is created
Browse files Browse the repository at this point in the history
  • Loading branch information
j-brant committed Dec 13, 2019
1 parent cc7f6da commit 527800e
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/Debugging-Utils-Tests/ContextDebuggingTest.class.st
Expand Up @@ -6,11 +6,10 @@ Class {

{ #category : #tests }
ContextDebuggingTest >> deadContext [
| semaphore context |
semaphore := Semaphore new.
[ context := thisContext.
semaphore signal ] fork.
semaphore wait.
| process context |
process := [ ] newProcess.
context := process suspendedContext.
context pc: nil.
^ context
]

Expand Down

0 comments on commit 527800e

Please sign in to comment.