Re: Sharing file number between processes

new topic     » goto parent     » topic index » view thread      » older message » newer message
mattlewis said...

No. That number only means something to that instance of euphoria.

Agreed.

mattlewis said...

Ultimately, it maps to a FILE pointer returned by fopen (part of the C std library). I don't think you could share that, either.

I think you're right about FILE too, though you can throw file handles obtained direct from the windows API between processes, I've seen that done (in C++), and that console file I/O handles can also be inherited/cloned till they work. Probably easier to close and reopen files though, if you ask me.

Regards,
Pete

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu