PageRenderTime 15ms CodeModel.GetById 10ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/src/wrappers/glib/library/core/g_pooled_routine.e

http://github.com/tybor/Liberty
Specman e | 15 lines | 12 code | 1 blank | 2 comment | 0 complexity | 1c7c51a411bebda70eecbb0a2ed856b1 MD5 | raw file
 1deferred class G_POOLED_ROUTINE
 2	obsolete "G_POOLED_ROUTINE is currently unusable because standard library is NOT thread safe. At all"
 3	
 4	-- Some work to be processed by a thread pool.
 5feature
 6	invoke (a_pool: G_THREAD_POOL[G_POOLED_ROUTINE]) is
 7		-- The
 8	deferred
 9	end
10feature {G_THREAD_POOL} -- Implementation 
11	invoke_address: POINTER is
12		do
13			Result := $invoke
14		end
15end -- class G_POOLED_ROUTINE