Anthony Nicholls
24f3a91a35
Timer: Add a leak detector
2024-05-30 18:33:03 +01:00
Anthony Nicholls
9b44fa750b
Timer: Stop the timer thread on shutdown to prevent a potential hang on windows
...
This commit reverts commit: 9e9da250 as it introduced a regression.
On windows when exit is called on a dll it forcibly kills any threads
still running before destroying any static objects. This means if a
Timer object is static the timer thread will be killed. Later when the
static object is destroyed it will wait for the thread to exit, which
because the OS forcibly killed it will never come true.
2024-05-30 18:33:03 +01:00
Anthony Nicholls
9e9da250eb
Timer: Ensure the timer thread is deleted before any static or global destructors run
...
In cases where there was a static or global instance of a class that
inherited from Timer, due to the order of events when a dll is unloaded
on windows, there was a risk of an infinite hang. Deleting the timer
thread before the dll is unloaded avoids this occurring.
2024-05-10 11:55:28 +01:00
Tom Poole
94d98a2b10
Update licensing information
2024-04-16 11:39:35 +01:00
Anthony Nicholls
47be26deed
Timer: Replace DeletedAtShutdown with SharedResourcePointer
2023-12-01 10:09:09 +00:00
Tom Poole
dea3fe60e4
Update copyright banners
2022-04-04 12:36:32 +01:00
Tom Poole
894e7d2bd2
Updated all license headers
2020-04-23 17:30:39 +01:00
ed
cdbc28c18b
Add documentation tags
2018-03-15 12:10:32 +00:00
jules
92f16c1d39
Fixed some Timer threading issues
2017-12-07 14:59:45 +00:00
jules
bdc5a800a6
Bit of cleanup in Timer
2017-10-17 17:23:17 +01:00
jules
eda613c6db
Moved all "namespace juce" declarations from module headers to the individual .h and .cpp source files. This makes life a lot easier for Intellisense and other IDE autocompletion tools
2017-09-08 08:59:55 +01:00
tpoole
f4046909ab
Added an OS X 10.5 compatible std::function replacement
2017-05-03 15:36:25 +01:00
hogliux
b5afccc37c
Updated file headers and the README with the JUCE 5 license
2017-04-27 14:43:04 +01:00
jules
39284e1d0f
Added static method Timer::callAfterDelay() to invoke a one-shot lambda function
2017-03-06 15:05:14 +00:00
hogliux
2da1bc5f41
Replace include guards with "#pragma once"
2017-02-01 17:18:07 +00:00
tpoole
2e84129479
Updated the juce_audio_basics, juce_audio_devices, juce_blocks_basics, juce_core and juce_events modules to a new ISC license
2016-12-14 10:07:26 +00:00
Timur Doumler
70949aa0c6
Added several new features: support for AudioUnit v3, new simplified JUCE module format, deleted the Introjucer and replaced it by the Projucer, various improvements for exporting of iOS and Android projects.
2016-04-06 18:31:24 +01:00
jules
46dc76f993
Improved a comment
2016-04-04 09:35:34 +01:00
hogliux
c7b8e77031
Update copyright notice
2015-07-22 15:59:34 +01:00
jules
490baecdc5
tweaks to avoid user code name clashes with Timer.
2015-05-25 10:05:45 +01:00
jules
9e36c4ecca
Added method Timer::startTimerHz
2014-11-04 11:42:03 +00:00
jules
5a1112ab94
Updated the format of the header include guard macros.
2013-07-17 16:26:35 +01:00
jules
03c2801f3f
Copyright header update in all module files. juce_core modules are now ISC licensed. All other modules are GPLv2/3/AGPLv3
2013-06-13 13:17:12 +01:00
jules
64c984896e
Added some documentation.
2013-02-01 20:33:04 +00:00
Julian Storer
7c77e101fc
Minor clean-ups.
2011-09-21 20:31:42 +01:00
Julian Storer
b70e0a28d2
First check-in of the "jucequake": a major re-organisation of the library to break it up into modules. For more details about this, see the website forum..
2011-08-12 10:04:52 +01:00