[Pharo-users] stream usage in workspace

2012-11-02 Thread Ben Coman
I am refereshing my familiarity with streams by looking at PharoByExample1 which says... "You have to remember that each time you open a stream on a file, you have to close it too." Does that mean if in Workspace I iteratively develop some code to process a stream, so that I am continually ru

[Pharo-users] Gettext in Pharo 1.4

2012-11-02 Thread Chris
Hi All, Is anyone maintaining the above package? I had a few issues when trying to use it in Pharo 1.4 Summer but have done a few fixes and it is now working well for me; would like to run them by someone who knows a bit more about it first. Thanks Chris

[Pharo-users] Acquiring lock, releasing in callback

2012-11-02 Thread Sebastian Nozzi
Hello Dear Pharo users, threads and co. are giving me headaches :-) I wanted to ask for advice... What do I use in Pharo to prevent more than one thread entering a region, but "releasing" the exclusivity in another block/callback? For example, let's suppose there is an hypothetical class "Lock"