bugGNUstep - Bugs: bug #25541, NSThread.m use...

Group
 
 

bug #25541: NSThread.m use GC_register_my_thread error with libgc 7.1

Submitter:  Lu Liyi <luliyi1024>
Submitted:  Tue 10 Feb 2009 10:04:14 AM UTC
   
 
Category:  Base/Foundation Severity:  3 - Normal
Item Group:  Bug Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 11 Feb 2009 08:40:54 AM UTC, comment #2: 

Confirmed ok now

Richard Frith-Macdonald <CaS>
Group Member
Tue 10 Feb 2009 12:21:57 PM UTC, comment #1: 

Thanks ... I don't actually have libgc7.1
I'm developing with the current stable version of libgc as that matches the version included with gcc.  So the latest 7.1 API stuff is not tested.  My understanding is that explicit thread registration via the new API is usually not necessary, but is desirable for portability because automatic handling of new threads by libgc does not work on some platforms.

However, I've attempted to update the NSThread code in svn so that it should compile (and hopefully do the right thing).  Please give it a try and let me know how you get on.


Richard Frith-Macdonald <CaS>
Group Member
Tue 10 Feb 2009 10:04:14 AM UTC, original submission:  

I use libgc 7.1 as garbage collection library.

the function GC_register_my_thread defined like this:
GC_API int GC_register_my_thread(struct GC_stack_base *);

but in NSThread.m line 745:
  GC_register_my_thread();

so it says

NSThread.m:745: error: too few arguments to function `GC_register_my_thread'

when making.


Lu Liyi <luliyi1024>

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

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 luliyi1024 (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 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2009-02-11 CaS Open/ClosedIn Test Closed
    2009-02-10 CaS StatusNone Fixed
        Open/ClosedOpen In Test

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code