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

Group
 
 

bug #49021: NSTask can deliver NSTaskDidTerminateNotification on wrong thread

Submitter:  Larry Campbell <lcampbel>
Submitted:  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
* Mandatory Fields

Add a New Comment Rich Markup
   

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

Thanks ... compatibility fix applied.

Richard Frith-Macdonald <CaS>
Group 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>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

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)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    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.13-f8d8.
    Corresponding source code