summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/modules/sync
Commit message (Collapse)AuthorAgeFilesLines
* moved osdsync to root of OSD, removed osdmini (nw) Miodrag Milanovic2016-04-153-986/+0
|
* Refactored osd_work to become more c++. Bye to malloc and memset. couriersud2016-04-111-137/+137
|
* convert osd_event into a class. Since all is std:: now, reduce to couriersud2016-04-103-215/+157
| | | inlineable code.
* Not needed anymore after move to C++11 features (nw) Miodrag Milanovic2016-04-031-11/+0
|
* Cleanups and version bump Miodrag Milanovic2016-03-302-6/+5
|
* Fix OSX build(nw) Miodrag Milanovic2016-03-012-1/+2
|
* update for osdmini (nw) Miodrag Milanovic2016-03-011-134/+0
|
* small fix (nw) Miodrag Milanovic2016-03-011-1/+1
|
* Used std::thread and std::condition_variable (nw) Miodrag Milanovic2016-03-018-1110/+182
|
* remove asm part for atomic implementations (nw) Miodrag Milanovic2016-03-011-40/+0
|
* transformed to std::atomic (nw) Miodrag Milanovic2016-03-011-50/+51
|
* Clean up a bit more legacy code Vas Crabb2016-02-292-10/+4
|
* Pick off some low-hanging PTR64 fruit Vas Crabb2016-02-282-10/+6
|
* OS/2 can not support SDL2 which is needed for MAME to run (nw) Miodrag Milanovic2016-02-261-199/+0
|
* Cleanups and version bump Miodrag Milanovic2016-02-241-1/+1
|
* Remove SDL 1.2 support (nw) Miodrag Milanovic2016-02-161-4/+0
|
* using dereferenced mutex = bad idea (nw) Miodrag Milanovic2016-01-311-7/+14
|
* replace osd_lock with std::mutex [Miodrag Milanovic] Miodrag Milanovic2016-01-308-1080/+21
|
* macro removal INLINE -> static inline (nw) Miodrag Milanovic2015-12-122-4/+4
|
* clang-modernize part 5 Miodrag Milanovic2015-12-043-17/+17
|
* Initial conversion of core to C++14. Note that compilers are now limited to ↵ Miodrag Milanovic2015-12-031-3/+3
| | | | GCC 4.9.0 and up, Clang 3.4.0 and up, and VS2013 and up [Miodrag Milanovic]
* more cleanups and fix (nw) Miodrag Milanovic2015-11-111-2/+2
|
* Rename *.c -> *.cpp in our source (nw) Miodrag Milanovic2015-11-088-0/+0
|
* Let's assume no-one uses a broken 450 core in a multi-CPU configuration (nw) Vas Crabb2015-11-021-4/+3
|
* did license settings for OG and Andrew, cleared up OSD part for licenses (nw) Miodrag Milanovic2015-05-095-25/+10
|
* removed restriction link for BSD3 licensed files (nw) Miodrag Milanovic2015-05-071-3/+0
|
* Added license headers to the rest of files (nw) Miodrag Milanovic2015-05-075-0/+10
|
* Some compilers don't like implicitly casting negative values to unsigned types Vas Crabb2015-04-031-1/+1
|
* removed windows/osinline.h and placed MSVC dependent files in top folder (nw) Miodrag Milanovic2015-03-304-4/+1
| | | | | | moved MSVC defines from winprefix.h to osdcomm.h removed empty file compilation - porttime.c removed osinline.h in windows and sdl and change files using them.
* Moved all renderers to osd/modules/render. (nw) couriersud2015-02-281-0/+3
|
* OS/2 patches for SDLMAME v0.158 [KO Myung-Hun] Vas Crabb2015-02-241-12/+0
|
* Cleanups and version bumpmame0158 Miodrag Milanovic2015-01-287-22/+18
|
* Promote osd_getenv from osdlib.h to osdcore.h. Change return type to couriersud2015-01-271-3/+2
| | | "const char*". Fixes netlist compile.
* src/osd/modules/sync: added some errorhandling (nw) Oliver Stöneberg2015-01-095-0/+41
|
* Fix bug in work_osd.c causing discrete sound to crash. [Tafoid, Haze, couriersud2015-01-091-1/+1
| | | Couriersud]
* - Moved OS specific low level code to osd/modules/lib. couriersud2015-01-097-61/+4
| | | | | | - Removed duplicate code - Should support LIB/BASELIB separation better going forward
* osd_work: use same SPIN_LOOP_TIME value on all platforms (nw) Oliver Stöneberg2015-01-081-6/+0
|
* osd_work: moved thread count printing to KEEP_STATISTICS / prevent ↵ Oliver Stöneberg2015-01-081-4/+5
| | | | KEEP_STATISTICS loop from going out-of-bounds (nw)
* sync: cleanups (nw) Oliver Stöneberg2015-01-082-2/+3
|
* osd_work: default back to numproc-1 threads for WORK_QUEUE_FLAG_MULTI (nw) Oliver Stöneberg2015-01-071-2/+2
|
* Fix compile of sync_sdl.c. (nw) couriersud2015-01-071-1/+16
|
* added OSD_EVENT_WAIT_INFINITE and implemented it properly for all platforms (nw) Oliver Stöneberg2015-01-077-5/+26
|
* osd_work: use n threads when n CPUs are detected since modern CPUs have at ↵ Oliver Stöneberg2015-01-071-7/+0
| | | | | | least two cores per CPU (nw) also makes -np use the actual number supplied across all platforms
* osd_work: small formating change (nw) Oliver Stöneberg2015-01-071-4/+4
|
* osd_work: use the non-yield implementation of spin_while() for all platforms ↵ Oliver Stöneberg2015-01-071-29/+0
| | | | | | | (nw) futher tests have shown there is no actual speed difference - and it reduces the CPU load even more
* osd_work: removed maximum thread limit for WORK_QUEUE_FLAG_HIGH_FREQ queue ↵ Oliver Stöneberg2015-01-071-8/+0
| | | | | | on Windows (nw) with the new SPIN_LOOP_TIME value it now scales
* Fixed linking of chdman (nw) couriersud2015-01-061-2/+3
|
* osd_work.c: lowered SPIN_LOOP_TIME / TODOs (nw) Oliver Stöneberg2015-01-061-2/+4
| | | | this at least greatly reduces the CPU load when running n64dd
* osd_work.c: limit WORK_QUEUE_FLAG_HIGH_FREQ to 3 threads since we don't ↵ Oliver Stöneberg2015-01-061-5/+4
| | | | | | | scale well above / logging (nw) tested with n64dd on Windows with Intel Sandy Bridge i7-2600k with GCC and Visual Studio 2013 compiles with and without optimization
* osd_work.c: only allocate main threads when WORK_QUEUE_FLAG_MULTI / some ↵ Oliver Stöneberg2015-01-061-15/+38
| | | | logging of thread count / fixed clang warning (nw)