state mach{ne...


 
Thread Tools Search this Thread
Top Forums Programming state mach{ne...
# 1  
Old 10-20-2005
state machine...

hi,

I am looking for some info on how can we implement state machines.

Conceptually it appears to be good but while implementing it causes lot of confusion..

I have some doubts regarding this concept.

(my explanation may look wired, as I am also not clear on this front)
The commonly adopted strategy to implement state machine is to have array of function pointers to handle a state. When ever appropriate input is recv the array is activated or used to trigger the functions.
(I don't have solid example, sorry for making it difficult to understand)

Can somebody add some info on this...

Regards,
Parasa Kiran

Last edited by parasa; 10-20-2005 at 06:50 AM..
# 2  
Old 10-20-2005
Quote:
Originally Posted by parasa
Regards,
Parasa Kiran
k...

Rules -> (10) Don't post your email address and ask for an email reply. The forums are for the benefit of all, so all Q&A should take place in the forums.

Last edited by vino; 10-20-2005 at 07:01 AM..
# 3  
Old 10-20-2005
Hi,

Sorry for that..

I have removed my email-id.

But it shows up on your post.

kindly edit it...

Regards,
Login or Register to Ask a Question

Previous Thread | Next Thread

7 More Discussions You Might Find Interesting

1. AIX

Open firmware state to running state

Hi Admins, I am having a whole system lpar in open firmware state on HMC. How can I bring it to running state ? Let me know. Thanks. (2 Replies)
Discussion started by: snchaudhari2
2 Replies

2. Shell Programming and Scripting

egrep line with perfect mach

Hi Input File A L006 AL01 0 (OCK) L006 A006 0 (OCK) L011 AR11 1 (NLOCK) Input File B L006 AL01 0 (OCK) L006 A006 0 (OCK) Need Egrep Command for perfect Match Thanks (4 Replies)
Discussion started by: asavaliya
4 Replies

3. Solaris

Zone in down state

Hi all, One of my zone is stuck in down state, not able to boot it or halt it root@xpm9ka1 # zoneadm list -iv ID NAME STATUS PATH BRAND IP 0 global running / native shared 2 bsmrxdb4 down /zones/bsmrxdb4 native shared root@xpm9ka1 # zoneadm -z bsmrxdb4 boot zoneadm: zone... (6 Replies)
Discussion started by: peppeunz
6 Replies

4. UNIX for Dummies Questions & Answers

Mach IPC

hey everyone, I'm reading a tutorial on the Mach kernel principles, however, the port and port rights part are kind of confusing to me. I don't know if the book has typos or something but it seems a bit contradictory. It says that "ports, themselves, are not named. It is the port rights that are"... (10 Replies)
Discussion started by: neur0n
10 Replies

5. UNIX for Dummies Questions & Answers

Mach drivers

hello everyone, can anyone tell me what drivers the Mach kernel works with. I'm thinking about experimenting with the Mach kernel, and yes I know there are other kernels that are easier to work with but I just want to use the Mach kernel. So with that being said, can the Mach kernel work with... (11 Replies)
Discussion started by: neur0n
11 Replies

6. Shell Programming and Scripting

Help to mach "usb" exactly with sed or awk

HI experts I updated my question here to eg: $cat file ABC: abc ABC FDFD USB: usb usb_name usb_disk usbdriver USB PA: PA pa paa I want to how many usb exactly matched(not match usb_name or usbdriver) in the line cotains"USB:" thanks in advance (19 Replies)
Discussion started by: yanglei_fage
19 Replies

7. UNIX for Dummies Questions & Answers

Compiling Mach 3.0 Kernel

Hi, I am very new to this. I would like to compile the Mach 3.0 kernel. Can someone explain, step-by-step, how to turn all the Mach 3.0 kernel code into a single binary file that will run directly on an x86 computer? Also, once (and if) I get it working, what software works on it? My goal is... (2 Replies)
Discussion started by: dublinus
2 Replies
Login or Register to Ask a Question