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

« back to all changes in this revision

Viewing changes to mozilla/nsprpub/pr/include/private/primpl.h

  • Committer: Bazaar Package Importer
  • Author(s): Chris Coulson
  • Date: 2011-01-11 14:55:23 UTC
  • mfrom: (1.1.13 upstream)
  • Revision ID: james.westby@ubuntu.com-20110111145523-hb3ap33jpgf838lt
Tags: 4.8.7-0ubuntu1
* New upstream release v4.8.7 (NSPR_4_8_7_RTM)
* Refresh patches
  - update debian/patches/30_config_64bits.patch
  - update debian/patches/99_configure.patch
* Drop the link shuffeling now, as all upgraders to this version will be
  using a fixed package anyway
  - remove debian/libnspr4-0d.postinst
  - remove debian/libnspr4-0d.postrm
  - remove debian/libnspr4-0d.preinst
  - remove debian/libnspr4-0d.prerm
* Drop arch-specific symbols files for architectures we don't support
  - remove debian/libnspr4-0d.symbols.hurd_i386
  - remove debian/libnspr4-0d.symbols.ia64
  - remove debian/libnspr4-0d.symbols.lpia
* Ship the main SO files in an unversioned binary, as we don't have
  versioned SO's in Ubuntu. Maintain a transitional versioned binary
  package containing the versioned symlinks, to maintain compatibility with
  Debian
  - update debian/control
  - mass rename debian/libnspr4-0d* => debian/libnspr4*
  - update debian/rules
* Fix postinst-must-call-ldconfig - dh_makeshlibs doesn't seem to add
  the maintainer script hooks with the unversioned SO files, so add them
  manually
  - add debian/libnspr4.postinst
  - add debian/libnspr4.postrm

Show diffs side-by-side

added added

removed removed

Lines of Context:
192
192
#define _PT_THREAD_UNBLOCK_INTERRUPT(thr)                       \
193
193
                (thr->interrupt_blocked = 0)
194
194
 
195
 
#ifdef GC_LEAK_DETECTOR
196
 
/* All threads are GCable. */
197
 
#define _PT_IS_GCABLE_THREAD(thr) 1
198
 
#else
199
195
#define _PT_IS_GCABLE_THREAD(thr) ((thr)->state & PT_THREAD_GCABLE)
200
 
#endif /* GC_LEAK_DETECTOR */
201
196
 
202
197
/* 
203
198
** Possible values for thread's suspend field
633
628
#define        _PR_ADJUST_STACKSIZE(stackSize)
634
629
#endif
635
630
 
636
 
#ifdef GC_LEAK_DETECTOR
637
 
/* All threads are GCable. */
638
 
#define _PR_IS_GCABLE_THREAD(thr) 1
639
 
#else
640
631
#define _PR_IS_GCABLE_THREAD(thr) ((thr)->flags & _PR_GCABLE_THREAD)
641
 
#endif /* GC_LEAK_DETECTOR */
642
632
 
643
633
#define _PR_PENDING_INTERRUPT(thr)                                      \
644
634
                (!((thr)->flags & _PR_INTERRUPT_BLOCKED) && ((thr)->flags & _PR_INTERRUPT))
1803
1793
extern void _PR_Cleanup(void);
1804
1794
extern void _PR_LogCleanup(void);
1805
1795
extern void _PR_InitLayerCache(void);
1806
 
#ifdef GC_LEAK_DETECTOR
1807
 
extern void _PR_InitGarbageCollector(void);
1808
 
#endif
1809
1796
 
1810
1797
extern PRBool _pr_initialized;
1811
1798
extern void _PR_ImplicitInitialization(void);