~ubuntu-branches/ubuntu/quantal/nspr/quantal-security

« back to all changes in this revision

Viewing changes to mozilla/nsprpub/pr/src/md/windows/w95thred.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:
234
234
 
235
235
PRInt32 _PR_MD_SETTHREADAFFINITYMASK(PRThread *thread, PRUint32 mask )
236
236
{
 
237
#ifdef WINCE
 
238
    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
 
239
    return -1;
 
240
#else
237
241
    DWORD_PTR rv;
238
242
 
239
243
    rv = SetThreadAffinityMask(thread->md.handle, mask);
240
244
 
241
245
    return rv?0:-1;
 
246
#endif
242
247
}
243
248
 
244
249
PRInt32 _PR_MD_GETTHREADAFFINITYMASK(PRThread *thread, PRUint32 *mask)
245
250
{
 
251
#ifdef WINCE
 
252
    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
 
253
    return -1;
 
254
#else
246
255
    BOOL rv;
247
256
    DWORD_PTR process_mask;
248
257
    DWORD_PTR system_mask;
253
262
        *mask = (PRUint32)process_mask;
254
263
 
255
264
    return rv?0:-1;
 
265
#endif
256
266
}
257
267
 
258
268
void