view loader/ext.h @ 30884:53901d222e8a

Announce SMP support for Win32. Don't hardcode dwNumberOfProcessors=1 for Win32 anymore; the mutex/event code is still far from perfect, but now good enough that I can't find any codecs that breaks with this (tested on a quad with various codecs). This tells codecs they can use more than one core if they want to (some already did, by launching multiple threads even when told there was only a single core).
author sesse
date Wed, 17 Mar 2010 23:33:26 +0000
parents 9e739bdb049c
children
line wrap: on
line source

/*
 * Modified for use with MPlayer, detailed changelog at
 * http://svn.mplayerhq.hu/mplayer/trunk/
 */

#ifndef MPLAYER_EXT_H
#define MPLAYER_EXT_H

#include "wine/windef.h"

LPVOID FILE_dommap( int unix_handle, LPVOID start,
                    DWORD size_high, DWORD size_low,
                    DWORD offset_high, DWORD offset_low,
                    int prot, int flags );
int FILE_munmap( LPVOID start, DWORD size_high, DWORD size_low );
int wcsnicmp( const unsigned short* s1, const unsigned short* s2, int n );
int __vprintf( const char *format, ... );

#endif /* MPLAYER_EXT_H */