~ubuntu-branches/ubuntu/saucy/nspr/saucy-updates

« back to all changes in this revision

Viewing changes to mozilla/nsprpub/pr/src/threads/prcthr.c

  • Committer: Bazaar Package Importer
  • Author(s): Alexander Sack
  • Date: 2009-08-10 11:34:26 UTC
  • mfrom: (1.1.10 upstream)
  • Revision ID: james.westby@ubuntu.com-20090810113426-3uv4diflrkcbdimm
Tags: 4.8-0ubuntu1
* New upstream release: 4.8 (LP: #387812)
* adjust patches to changed upstreanm codebase
  - update debian/patches/99_configure.patch
* update shlibs symbols to include new API elements
  - update debian/libnspr4-0d.symbols

Show diffs side-by-side

added added

removed removed

Lines of Context:
304
304
#ifdef HAVE_THREAD_AFFINITY
305
305
    return _PR_MD_GETTHREADAFFINITYMASK(thread, mask);
306
306
#else
307
 
 
308
 
#if defined(XP_MAC)
309
 
#pragma unused (thread, mask)
310
 
#endif
311
 
 
312
307
    return 0;
313
308
#endif
314
309
}
322
317
        return 0;
323
318
#endif
324
319
#else
325
 
 
326
 
#if defined(XP_MAC)
327
 
#pragma unused (thread, mask)
328
 
#endif
329
 
 
330
320
    return 0;
331
321
#endif
332
322
}
354
344
    }
355
345
#endif
356
346
 
357
 
#if defined(XP_MAC)
358
 
#pragma unused (mask)
359
 
#endif
360
 
 
361
347
    return 0;
362
348
}
363
349
 
397
383
PR_IMPLEMENT(PRThread*) PR_AttachThreadGCAble(
398
384
    PRThreadType type, PRThreadPriority priority, PRThreadStack *stack)
399
385
{
400
 
#ifdef XP_MAC
401
 
#pragma unused (type, priority, stack)
402
 
#endif
403
386
    /* $$$$ not sure how to finese this one */
404
387
    PR_SetError(PR_NOT_IMPLEMENTED_ERROR, 0);
405
388
    return NULL;
423
406
 
424
407
PR_IMPLEMENT(PRThreadScope) PR_GetThreadScope(const PRThread *thread)
425
408
{
426
 
#ifdef XP_MAC
427
 
#pragma unused( thread )
428
 
#endif
429
409
    if (!_pr_initialized) _PR_ImplicitInitialization();
430
410
 
431
411
    if (_PR_IS_NATIVE_THREAD(thread)) {