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/FoundationSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned 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
  • -unavailable- added by CaS (Posted a comment)
  • -unavailable- added by lcampbel (Submitted the item)
  •  

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

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 09 Apr 2017 09:57:43 AM UTCCaSStatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Mon 12 Sep 2016 09:40:31 PM UTClcampbelAttached File-=>Added NSTask.h.patch, #38489
      Attached File-=>Added NSTask.m.patch.2, #38490

    Back to the top


    Powered by Savane 3.1-cleanup1