2012/1/6 xunxun <[email protected]>:
> 于 2012/1/7 3:39, Kai Tietz 写道:
>
>> this program is btw invalid, you know? You aren't allowed to access in
>> fun1 the same I/O unit (unit=* is OUTPUT_UNIT).
>>
>> "An input/output statement that is executed while another input/output
>> statement is being executed is a recursive input/output statement. A
>> recursive input/output statement shall not identify an external unit
>> that is identified by another input/output statement being executed
>> except that a child data transfer statement may identify its parent
>> data transfer statement external unit." (F2008,9.12 Restrictions on
>> input/output statements)
>
> Thanks.
> I will tell my friend.
>
> I am not familiar with F2008. Is this an undefined behavior or not allowed,
> because linux and cygwin accept this approach.
>
> --
> Best Regards,
> xunxun

Well, you can notice same behavior on linux, if you are using for
linking option -lrt for it.  Actual it is a dead-lock.  For linux (and
maybe cygwin too), the locks are implemented via weakref, but this
doesn't exist for mingw target.

Regards,
Kai

------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to