Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
frameserver_debugstall(3)	 Arcan Lua API	     frameserver_debugstall(3)

NAME
       frameserver_debugstall  -  change the global delay before a frameserver
       executes

SYNOPSIS
       nil
       frameserver_debugstall( time )

DESCRIPTION
       This function is	only exposed in	debug builds of	the  engine  where  it
       can  be	assumed	other relevant instrumentation is in place. It changes
       the inherited environment variable  ARCAN_FRAMESERVER_DEBUGSTALL	 =time
       (where  time  is	 >=  0,	0 clears) that controls	how long newly spawned
       frameservers should delay before	continuing execution. This is to allow
       the  developer  to attach to the	process	at a safe spot in order	to set
       breakpoints or control stepping.

EXAMPLE
       function	frameserver_debugstall0()
	     if	(frameserver_debugstall) then
		   frameserver_debugstall(10);
		   launch_avfeed();
	     end
       end

SEE ALSO:
system				  April	2022	     frameserver_debugstall(3)

NAME | SYNOPSIS | DESCRIPTION | EXAMPLE | SEE ALSO:

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=frameserver_debugstall&sektion=3&manpath=FreeBSD+13.1-RELEASE+and+Ports>

home | help