mirror of https://github.com/BOINC/boinc.git
*** empty log message ***
svn path=/trunk/boinc/; revision=1166
This commit is contained in:
parent
3e68c03eba
commit
1dc32d6119
|
@ -4091,6 +4091,7 @@ Erik May 8 2003
|
|||
and if necessary it draws logo-based graphics or blanks the screen.
|
||||
- Changed ACTIVE_TASK.app_client_shm from a pointer to an object.
|
||||
NOTE: AVOID DYNAMIC ALLOCATION WHENEVER POSSIBLE
|
||||
- got rid of free_mem() stuff
|
||||
|
||||
client/
|
||||
Makefile.in
|
||||
|
|
|
@ -445,6 +445,7 @@ int ACTIVE_TASK_SET::insert(ACTIVE_TASK* atp) {
|
|||
return 0;
|
||||
}
|
||||
|
||||
#if 0
|
||||
// Deallocate memory to prevent unneeded reporting of memory leaks
|
||||
//
|
||||
void ACTIVE_TASK_SET::free_mem() {
|
||||
|
@ -458,6 +459,7 @@ void ACTIVE_TASK_SET::free_mem() {
|
|||
delete at;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
// Checks if any child processes have exited and records their final CPU time
|
||||
//
|
||||
|
|
|
@ -138,7 +138,6 @@ public:
|
|||
void kill_tasks();
|
||||
void check_apps();
|
||||
int get_free_slot(int total_slots);
|
||||
void free_mem();
|
||||
|
||||
// screensaver-related functions
|
||||
ACTIVE_TASK* get_graphics_capable_app();
|
||||
|
|
|
@ -95,6 +95,7 @@ CLIENT_STATE::CLIENT_STATE() {
|
|||
cpu_benchmarks_id = 0;
|
||||
}
|
||||
|
||||
#if 0
|
||||
// Deallocate memory to prevent unneeded reporting of memory leaks
|
||||
//
|
||||
void CLIENT_STATE::free_mem() {
|
||||
|
@ -155,6 +156,7 @@ void CLIENT_STATE::free_mem() {
|
|||
|
||||
active_tasks.free_mem();
|
||||
}
|
||||
#endif
|
||||
|
||||
void CLIENT_STATE::install_global_prefs() {
|
||||
net_xfers->max_bytes_sec_up = global_prefs.max_bytes_sec_up;
|
||||
|
|
|
@ -59,7 +59,6 @@ public:
|
|||
NET_STATS net_stats;
|
||||
|
||||
CLIENT_STATE();
|
||||
void free_mem();
|
||||
int init();
|
||||
int restart_tasks();
|
||||
int cleanup_and_exit();
|
||||
|
|
Loading…
Reference in New Issue