Hi Everyone,
Here's a patch for the following changes. Please let me know if I should
contribute some other way. Also, if there are coding standards or
practices that are followed, sorry if I missed them someplace.
1. Changed the exception handling in the GThread to catch all exceptions
and wrap them in a new GThreadException class. The reason for this is
custom exceptions thrown from the GThread can't be serialized by the
Executor because it can't resolve the custom exception types. This
really helps debugging because the exception and full stack are passed
back and / or written to the log file.
2. Added a constructor to GApplication that takes a GConnection and a
multiuse parameter.
3. Added configuration check to the App Domain creation, if a app.config
file is found in the application directory it will be loaded as the
applications config file.
4. Changed the GExecutor to report the correct number of CPU's using
Environment.ProcessorCount. Also sets the MaxCpuPower to the number of
cpu's * the MHz.
5. Changed the DefaultScheduler to hand out executor threads for the
number of CPU's reported.
6. Changed the lock object in the MappingScheduler
Regards,
Dusty
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Alchemi-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alchemi-developers