[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [bluetooth-dev] sdp_server



> -----Original Message-----
> From: USHA R [mailto:ushar@xxxxxxx.net]
> Sent: 21 May 2001 14:10
> To: 'Peter Kjellerstedt'; ushar@xxxxxxx.net
> Cc: bluetooth-dev@xxxxxxx.com
> Subject: RE: [bluetooth-dev] sdp_server
> 
> Hi,
> My doubt is when the parent continues to execute how does the 
> sdp_server get invoked.

After fork() (or vfork() in this case) has been executed
successfully you have two identical copies of btd running
totally independent of each other. One is the parent, and
one is the child. The child will execute execvp(), and be
transformed into the sdp_server, while the parent continues
to execute as the btd daemon. This is just normal UNIX
fork/exec behaviour.

//Peter
-
To unsubscribe from this list: send the line "unsubscribe bluetooth-dev" in
the body of a message to majordomo@xxxxxxx.com