Outline of a simple ESP function  ESP function example

Chapter 17: Using Extended Stored Procedures

Multithreading

Since Open Server is currently non-preemptive, all ESPs running on the same server must yield to one another, using the Open Server srv_yield() routine to suspend their XP Server thread and allow another thread to execute.

See the chapter on multithread programming in the Open Server Server-Library/C Reference Manual for more information.





Copyright © 2005. Sybase Inc. All rights reserved. ESP function example

View this book as PDF