Download Reference Manual
The Developer's Library for D
About Wiki Forums Source Search Contact

Changeset 2104

Show
Ignore:
Timestamp:
04/21/07 12:39:38 (2 years ago)
Author:
sean
Message:

Fix for ticket #424.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/lib/common/tango/core/Thread.d

    r2089 r2104  
    181181            } 
    182182 
    183             pthread_cleanup cleanup; 
     183            mixin pthread_cleanup cleanup; 
    184184            cleanup.push( &thread_cleanupHandler, cast(void*) obj ); 
    185185 
  • trunk/tango/stdc/posix/pthread.d

    r2089 r2104  
    146146    void _pthread_cleanup_pop(_pthread_cleanup_buffer*, int); 
    147147 
    148     struct pthread_cleanup 
     148    template pthread_cleanup() 
    149149    { 
    150150        _pthread_cleanup_buffer buffer = void; 
     
    172172    } 
    173173 
    174     struct pthread_cleanup 
     174    template pthread_cleanup() 
    175175    { 
    176176        _pthread_cleanup_buffer buffer = void;