2005-04-29 kl. 14.45 skrev Jacob Sparre Andersen: Adrien Plisson wrote: Jacob Sparre Andersen wrote: If calls to Ada.Text_IO _are_ potentially blocking operations, that means that one has to move the calls to a task. and what about putting them into an entry of a protected object? I think I need an explanation of the difference between entries and procedures of protected objects. Any suggestion of some reading materials? Arial Ada As A Second Language by Norman Cohen < Has a nice and long chapter about protected objects and tasking As a remark to the issue of text_io being potentially blocking, I've developed code that works as it should with Windows and gnat, but came to a total freeze of the process when compiled with Object Ada. The freeze occured when calling text_io inside a protected procedure. Replacing the protected object with another task solved it. In the book above, the author mentions that io inside protected objects will either freeze the process, or work, but with the protection disabled, or work very well? Anyway, I will always be carefull with protected objects in the future. /Björn Björn Lundin bnl at spray dot se