ESPs and performance  Freeing memory

Chapter 17: Using Extended Stored Procedures

Setting priority

Use esp execution priority to set the priority of the XP Server thread high, so the Open Server scheduler runs it before other threads on its run queue, or low, so the scheduler runs XP Server only when there are no other threads to run. The default value of esp execution priority is 8, but you can set it anywhere from 0 to 15. See the discussion of multithread programming in the Open Server Server-Library/C Reference Manual for information about scheduling Open Server threads.





Copyright © 2005. Sybase Inc. All rights reserved. Freeing memory

View this book as PDF