bugGNUstep - Bugs: bug #49021, NSTask can deliver...


You are not allowed to post comments on this tracker with your current authentication level.

bug #49021: NSTask can deliver NSTaskDidTerminateNotification on wrong thread

Submitted by:  Larry Campbell <lcampbel>
Submitted on:  Wed 07 Sep 2016 03:02:03 PM UTC  
Category:  Base/Foundation Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed

Sun 09 Apr 2017 09:57:43 AM UTC, comment #2:

Thanks ... compatibility fix applied.

Richard Frith-Macdonald <CaS>
Project Member
Mon 12 Sep 2016 09:40:31 PM UTC, comment #1:

I've attached a fix.

(file #38489, file #38490)

Larry Campbell <lcampbel>
Wed 07 Sep 2016 03:02:03 PM UTC, original submission:

Apple's NSTask documentation states:

"This notification is posted from the thread in which the NSTask object called launch."

gnustep makes no effor to post the notification on the correct thread. This can cause bugs.

Larry Campbell <lcampbel>


Attached Files
file #38489:  NSTask.h.patch added by lcampbel (540B - application/octet-stream - Patches containing a fix.)
file #38490:  NSTask.m.patch.2 added by lcampbel (3KiB - application/octet-stream - Patches containing a fix.)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by CaS (Posted a comment)
  • -email is unavailable- added by lcampbel (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-04-09 CaS StatusNone => Fixed
        Open/ClosedOpen => Closed
    2016-09-12 lcampbel Attached File- => Added NSTask.h.patch, #38489
        Attached File- => Added NSTask.m.patch.2, #38490

    Back to the top

    Powered by Savane 3.4