Ignore:
Timestamp:
May 24, 2012, 12:16:46 AM (13 years ago)
Author:
dmik
Message:

icedtea-web: Replace pthread_cancel() with old good flag variable.

This is because the whole pthreads cancellation machinery (cancellation
points, cleanup routines, etc.) is not implemented on OS/2.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/icedtea-web/plugin/icedteanp/IcedTeaNPPlugin.h

    r357 r369  
    9494static pthread_t plugin_request_processor_thread3;
    9595
     96#ifdef __OS2__
     97struct QueueProcessorData
     98{
     99    PluginRequestProcessor *processor;
     100    bool stopRequested;
     101};
     102
     103static QueueProcessorData queue_processor_data1 = { NULL, false };
     104static QueueProcessorData queue_processor_data2 = { NULL, false };
     105static QueueProcessorData queue_processor_data3 = { NULL, false };
     106#endif
     107
    96108// Condition on which the queue processor waits
    97109extern pthread_cond_t cond_message_available;
Note: See TracChangeset for help on using the changeset viewer.