Sleep function into fbudf ------------------------- Key: CORE-5619 URL: http://tracker.firebirdsql.org/browse/CORE-5619 Project: Firebird Core Issue Type: New Feature Components: UDF Affects Versions: 4.0 Alpha 1, 3.0.2, 2.5.7 Environment: Any Reporter: Slavomir Skopalik Priority: Trivial
Add Sleep function as common fbudf function. This is helpful during obtaining lock or testing. Declaration like: DECLARE EXTERNAL FUNCTION Sleep INTEGER NULL RETURNS INTEGER BY VALUE ENTRY_POINT 'Sleep' MODULE_NAME 'masaudf'; Implementation (in pascal): function Sleep(time:PINT):integer; cdecl; begin result:=0; if time=nil then exit; windows.Sleep(time^); end; -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://tracker.firebirdsql.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel