RE: [sv-bc] Is 'kill' a task or function

From: Francoise Martinolle <fm_at_.....>
Date: Tue Jan 20 2009 - 14:25:12 PST
 
This is corrected in draft 8 of the new LRM. It is a void function.
Francoise
       '


________________________________

	From: owner-sv-bc@eda.org [mailto:owner-sv-bc@eda.org] On Behalf
Of Surya Pratik Saha
	Sent: Monday, July 23, 2007 3:33 AM
	To: sv-bc@eda-stds.org; SV-EC
	Subject: [sv-bc] Is 'kill' a task or function
	
	
	Hi,
	There is a method inside 'process' class called 'kill'. The
definition of 'kill' is given different in two places. 
	LRM section 11.9 (page no. 150)
	class process; 
	enum state { FINISHED, RUNNING, WAITING, SUSPENDED, KILLED }; 
	static function process self(); 
	function state status(); 
	function void kill(); // Here it is a void function
	task await(); 
	function void suspend(); 
	task resume(); 
	endclass
	
	Now in Annex C (page no. 554) it is written as:
	class process; 
	enum state { FINISHED, RUNNING, WAITING, SUSPENDED, KILLED }; 
	static function process self(); 
	function state status(); 
	task kill(); // Here it is a task
	task await(); 
	task suspend(); 
	task resume(); 
	endclass
	
	Which definition is correct?
	
	-- 
	Regards
	Surya

	-- 
	This message has been scanned for viruses and 
	dangerous content by MailScanner <http://www.mailscanner.info/>
, and is 
	believed to be clean. 


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Tue Jan 20 14:27:02 2009

This archive was generated by hypermail 2.1.8 : Tue Jan 20 2009 - 14:29:20 PST