Code

History

Commits on 5c5b4069aec2d44d8180304bccefd780ba767115 to Source/Libraries/GSF.Core.Shared/Threading30
  1. GSF.Core: Extracted the DelayedSynchronizedOperation that was in DynamicCalcultor into its own public class.J. Ritchie Carroll committed 8 years ago251797d
  2. GSF.Core: Fixed race condition in LogicalThreadScheduler that caused an IndexOutOfRangeException to be thrown in rare circumstances when enqueuing actions onto a LogicalThread.StephenCWills committed 9 years agoafa505a
  3. GSF.Core: Updated LogicalThread API to handle prioritization at the thread scheduler so that threads can be reprioritized based on the priority of their tasks.StephenCWills committed 9 years agod6482bb
  4. GSF.Core: Modified LogicalThreadScheduler to throw an exception when setting max thread count to a nonpositive value.StephenCWills committed 9 years ago2f23541
  5. GSF.Core: NullableWeakReference.cs - Replaced improper use of setting a WeakReference.Target to null.chishose committed 9 years agofbf43db
  6. GSF.Core: Fixed implementations using RegisterWaitForSingleObject in Mono.StephenCWills committed 9 years agob59956f
  7. GSF.Core: Improved logging for components.chishose committed 9 years agofaca0fd
  8. GSF.Core: Added ability to notify of swallowed exceptions. Made foreground threads in ScheduledTask change to background threads while sleeping.chishose committed 9 years ago24677ea
  9. GSF.Core: Made Logger route messages asynchronously. Also improved Logger's ability to report messages at shutdown.chishose committed 9 years agodacffd9
  10. GSF.Core: Fixed some issues with Random not being CryptoSecure. Added some additional classes.chishose committed 9 years agod7b32ad
  11. GSF.Threading: Added compile time directive to ShutdownHandler to remove unnecessary using.J. Ritchie Carroll committed 9 years agoaff3fa6
  12. GSF.TimeSeries: Updated ServiceHostBase to call InitiateSafeShutdown. GSF.Threading: Updated call handling to IntiateSafeShutdown. GSF.Core.SqlClr: Added compile time directive for SQLCLR to exclude code as needed from shared code.J. Ritchie Carroll committed 9 years ago9a203f5
  13. GSF.Core: Prevented an unnecessary dispose during a race condition in SharedTimerScheduler. Modified the ThreadPoolMonitor and added a LoadingAdjustedTimestamp that will adjust DateTime.UtcNow with perceived system loading. This can be used to dynamically adjust lag times based on system loading.chishose committed 10 years ago2a2763c
  14. GSF.Core: Fixed an issue where shared timer intervals were not being applied unless the interval was explicitly set through the Interval property of the timer.StephenCWills committed 10 years ago840ddfd
  15. GSF.Core: Modified SharedTimerInstance to dispose of itself and clean up the SharedTimerScheduler dictionary if there are no more registered callbacks.StephenCWills committed 10 years ago21d6ef1
  16. GSF.Core: Added TryExecute() method to ActionExtensions.StephenCWills committed 10 years ago33c87ef
  17. GSF.Core: Cleaned comments for new SharedTimer classes.J. Ritchie Carroll committed 10 years agocb5598d
  18. GSF.Core: Fixed possible logic error when logging exceptions thrown by unhandled exception handlers in shared timers.StephenCWills committed 10 years ago01b6194
  19. GSF.Core: Added regions and performed general code cleanup on shared timer code.StephenCWills committed 10 years agoad6a5f5
  20. PhasorProtocolAdapter: Replaced Timer with SharedTimer in PhasorMeasurementMapper and MultiProtocolFrameParser.chishose committed 10 years agoc65d62a
  21. GSF.Core: Changed StaticTimer to SharedTimer and made it work similiar to how System.Timers.Timer works.chishose committed 10 years agoc4bdf79
  22. GSF.Threading: Simplified StaticTimer implementation. Removed "Default" instance since as shared code, there's no telling what other people could queue into this default timer on a common interval, e.g., 1000ms. Just means your function many not be called on a schedule that was as "timely" as it might be otherwise - again, because you don't know what other actions are queued before you and what level of variability they have for processing. In this mode, user should create their own StaticTimer for any given major piece of architecture so that they are only contending with their own code and know the caveats, and whether more than one StaticTimer would be needed. Also, removed use of WeakAction and instead callback is holding a standard reference to an Action - this moves responsibility of clean-up, i.e., timer deregistration, to consumer but allows use of lambda expressions.J. Ritchie Carroll committed 10 years ago9e763e1
  23. GSF.Core: Shuffled more Threading code into GSF.Core.Shared and renamed StaticTimer methods for consistency.J. Ritchie Carroll committed 10 years agoe479c4b
  24. GSF.Core: Added a ThreadPoolMonitor.chishose committed 10 years agodfaa8e1
  25. GSF.Core: Added a dictionary cache to AssemblyInfo.cschishose committed 10 years ago3ccab0f
  26. GSF.Core: Added a ThreadPool monitor that will report to the Log file when the threadpool gets backed up.chishose committed 10 years agoe301e2c
  27. Globally applied "nameof" operations and proper ordering of keyword modifiers where applicable.J. Ritchie Carroll committed 10 years agof6c6b79
  28. GSF.Core: Added some comments.chishose committed 10 years ago2a216d9
  29. GSF.Core: Added ShutdownHandler so ScheduledTask objects can be signaled and disposed of when the application shuts down. Also modified the WeakAction class to be more intuitive.chishose committed 10 years ago74b3a47
  30. Updated local paths, files names and references to GSF.Code.SharedJ. Ritchie Carroll committed 10 years ago0d1cb7f

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t