Delay escript execution using sleep() function in Windows and Unix
(Doc ID 541719.1)
Last updated on JULY 04, 2023
Applies to:
Siebel Tools - Version 7.0.4.10 [14072] and laterOracle Solaris on SPARC (64-bit)
Product Release: V7 (Enterprise)
Version: 7.0.4.10 [14072]
Database: Oracle 8.1.7.0
Application Server OS: Sun Solaris 8
Database Server OS: HP-UX 11.0
This document was previously published as Siebel SR 38-1042896367.
Symptoms
SBL-GEN-09401
How do you implement a sleep function in escript - we have a need to code a polling loop in eScript as follows:
Changes
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Changes |
Cause |
Solution |
Solution implemented DLL on Window platform / on Unix platform: |
For compiling the so file on Solaris, the customer has used the Doc ID 476274.1: Calling a shared library from eScript available on SupportWeb, but has added the following flags: -static-libgcc Full line for the link step was: gcc libtest.o -static-libgcc -shared -o libtest.so Generic eScript code for using on both platforms (Windows and Unix): |