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 Sep 7 15:02:03 2016  
 
Category: Base/FoundationSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Sun Apr 9 09:57:43 2017, comment #2:

Thanks ... compatibility fix applied.

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

I've attached a fix.

(file #38489, file #38490)

Larry Campbell <lcampbel>
Wed Sep 7 15:02:03 2016, 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 (3kB - 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 Apr 9 09:57:43 2017CaSStatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Mon Sep 12 21:40:31 2016lcampbelAttached File-=>Added NSTask.h.patch, #38489
      Attached File-=>Added NSTask.m.patch.2, #38490

    Back to the top


    Powered by Savane 3.1-cleanup1