Re: How to wait for file closing?

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

Excuse for my meticulousness, but this problem is too important for me. Let's say two programs (C++ and Euphoria) work in parallel. C++ writes the lines "Hot Fudge Sundae" and "Muffin". Execution of instruction "read_lines" was at this moment. What will occur?

1. read_lines immediately return {"Hot Fudge Sundae", "Muffin"}
2. read_lines will wait for closing of the file and will return {"Hot Fudge Sundae", "Muffin", "Hash Browns With Maple Syrup"}

Thanks for your endurance.

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

Search



Quick Links

User menu

Not signed in.

Misc Menu