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

 
 

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

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

Submitted by:  Lu Liyi <luliyi1024>
Submitted on:  Tue 10 Feb 2009 10:04:14 AM UTC  
 
Category: Base/FoundationSeverity: 3 - Normal
Item Group: BugStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

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

Confirmed ok now

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

 

No files currently attached

 

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

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 11 Feb 2009 08:40:54 AM UTCCaSOpen/ClosedIn Test=>Closed
    Tue 10 Feb 2009 12:21:57 PM UTCCaSStatusNone=>Fixed
      Open/ClosedOpen=>In Test

    Back to the top


    Powered by Savane 3.1-cleanup1