Previous 199869 Revisions Next

r34258 Thursday 8th January, 2015 at 09:08:00 UTC by Oliver Stöneberg
sync: cleanups (nw)
[src/osd/modules/sync]osdsync.h work_osd.c

trunk/src/osd/modules/sync/osdsync.h
r242769r242770
11//============================================================
22//
3//  winsync.h - Windows core synchronization functions
3//  osdsync.h - Core synchronization functions
44//
55//  Copyright (c) 1996-2014, Nicola Salmoria and the MAME Team.
66//  Visit http://mamedev.org for licensing and usage restrictions.
trunk/src/osd/modules/sync/work_osd.c
r242769r242770
5252//============================================================
5353
5454#define ENV_PROCESSORS               "OSDPROCESSORS"
55#define ENV_WORKQUEUEMAXTHREADS      "OSDWORKQUEUEMAXTHREADS"
5556
5657// TODO: use either
5758// TODO: make configurable via environment for tests
r242769r242770
181182   osd_work_queue *queue;
182183   int osdthreadnum = 0;
183184   int allocthreadnum;
184   char *osdworkqueuemaxthreads = osd_getenv("OSDWORKQUEUEMAXTHREADS");
185   char *osdworkqueuemaxthreads = osd_getenv(ENV_WORKQUEUEMAXTHREADS);
185186
186187   // allocate a new queue
187188   queue = (osd_work_queue *)osd_malloc(sizeof(*queue));


Previous 199869 Revisions Next


© 1997-2024 The MAME Team