[prev in list] [next in list] [prev in thread] [next in thread]
List: busybox
Subject: Question
From: snoweyes <butlucky () gmail ! com>
Date: 2013-12-05 5:10:39
Message-ID: D8FA18B8-B2BE-42B0-8554-378F7AC412B1 () gmail ! com
[Download RAW message or body]
hello:
I would like to ask a question !
when you use busybox command , eg udhcpc
you can not get the right pid number in the udhcpc_main function.
when you use getpid() to get a value 495 , but the real num is 499 maybe.
but the write_pidfile() function in udhcpc_main can use getpid() to write the right number to a file
I finally found that this write_pid() function has been run 2 times
i am confused ,how can this happen!
hope somebody can tell me!
Best regards
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic