I am impressed by the prompt, enthusiastic and competent response of this community to the requests of its own users. Thanks to all. Stefano B

On Sep 25, 2009, at 2:44 PM, Abdelrazak Younes wrote:

Vincent van Ravesteijn - TNW wrote:
Well, at least we are not the only ones seeing this problem:
   http://www.stata.com/statalist/archive/2009-08/msg01552.html
   http://discussions.apple.com/thread.jspa?threadID=2160394
   http://forums.adobe.com/thread/490441


But it's very puzzling. It seems that OSX is refusing to fork()
without an immediate exec(), which makes fork() almost useless to
us in this case.

If that's right, then I think we have to treat OSX as Windows,
pretty much as Vincent suggested.


Or, we could implement a proper way. It is annoying that LyX seems to
sleep for a second while autosaving (although I'm now the first
complaining about that).

It is then needed to create a new thread, copy the buffer, do the
autosave. This would then improve the situation on MacOs and Windows. As
a bonus, we would get rid of some os-specific code, and differences
between LyXes.



Right. I recommend to use QtConcurrent::run(). It works almost like a fork but uses thread and is cross-platform and very easy to use.

Abdel.

---
Stefano Baroni - SISSA & DEMOCRITOS National Simulation Center - Trieste http://stefano.baroni.me [+39] 040 3787 406 (tel) -528 (fax) / stefanobaroni (skype)

La morale est une logique de l'action comme la logique est une morale de la pensée - Jean Piaget

Please, if possible, don't  send me MS Word or PowerPoint attachments
Why? See:  http://www.gnu.org/philosophy/no-word-attachments.html







Reply via email to