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

From: Surya Pratik Saha <spsaha_at_.....>
Date: Mon Jul 23 2007 - 00:32:46 PDT
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, and is
believed to be clean. Received on Mon Jul 23 00:53:38 2007

This archive was generated by hypermail 2.1.8 : Mon Jul 23 2007 - 00:54:29 PDT