gnustep-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GWorkspace file operation pause/stop problems


From: Riccardo Mottola
Subject: Re: GWorkspace file operation pause/stop problems
Date: Mon, 28 Jul 2014 20:48:50 +0200
User-agent: Mozilla/5.0 (X11; FreeBSD i386; rv:29.0) Gecko/20100101 Firefox/29.0 SeaMonkey/2.26.1

Hi,

Riccardo Mottola wrote:

      NSLog(@"perfomring operation....");
      NSLog(@"performing operation on executor: %@", executor);

The first one prints out. The second not. I do not get an exception raised though. The program flow seems to interrupt.
to be more precise, I followed Fred's suggestion and added a flush().

Thus I have in the pause method:

      paused = NO;
      NSLog(@"perfomring operation....");
      NSLog(@"performing operation on executor: %@", executor);
        flush();
      [executor performOperation];

this is the output:

2014-07-28 18:39:13.060 GWorkspace[25838] start pause
2014-07-28 18:39:21.626 GWorkspace[25838] continue from pause
2014-07-28 18:39:21.627 GWorkspace[25838] perfomring operation....
2014-07-28 18:44:22.132 GWorkspace[25838] WARNING ... waiting for reply 4 since 2014-07-28 18:39:21 +0000 on <NSConnection: 0x2bfbacb8> local: '',<NSMessagePort 0x2c44efc8 file name /tmp/GNUstepSecure1001/NSMessagePort/ports/25838.3> remote '',<NSMessagePort 0x2c4516a8 file name /tmp/GNUstepSecure1001/NSMessagePort/ports/25838.4>

the warning comes out later as the timestamp shows.
I wonder.... why even the second NSLog() doesn't print out.

Riccardo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]