On 01/19/2011 06:13 PM, Paolo Bonzini wrote: > > Ok, now I can reproduce it, but it seems a bug to me. This is a > self-contained C reproducer:
The autobinding to a port? Yeah it was a bit surprising but then started to make sense. > > You're right. Using errno is thread-unsafe since Smalltalk threads share the > errno and you could have an interrupt at exactly "that" time. > > I'll have to fix it. Ah, you are right. The two options i see is to either just raise an exception without knowing the specific issue, or as you said put syscall and errno into a critical section (eeek...) _______________________________________________ help-smalltalk mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-smalltalk
