BeBits Information Developer Central Submit Application Your Account Web Links Contact Us
BeBits
Please support our sponsors!
waitfor Replacement
Talkback
 Go back to the waitfor Replacement page
 Post a new Talkback comment!
great!
 By qviri - Posted on March 27, 2005 - 14:30:43   (#16219)
 Current version when comment was posted: 0.1
Thanks a million. I can finally replace that crappy, CPU eating script I've came up with.

(for those interested:

---
while true; do
sleep 3

# ps, grep it, count the lines, cut out the spaces from the number of lines
isMPrunning=$(ps -ef | grep MediaPlayer | wc -l | sed -e "s/\ *//")

if [ $isMPrunning == 1 ]; then
break
fi
done
---

dirty hacking prima sort.)

Mirror
 By kreeziiusr - Posted on March 26, 2005 - 18:07:19   (#16211)
 Current version when comment was posted: 0.1
http://looncraz.tripod.com/apps/waitfor.zip
Thanks to looncraz :)

links broken
 By qviri - Posted on March 24, 2005 - 20:02:27   (#16201)
 Current version when comment was posted: 0.1
Both the download links don't work, can this please be updated?

STD lib..
 By looncraz - Posted on July 11, 2003 - 09:35:11   (#8126)
 Current version when comment was posted: 0.1
I used it for debug output, obviously removing it does no harm :-)

--The loon

PPC and C++ lib
 By memson - Posted on July 11, 2003 - 04:02:56   (#8119)
 Current version when comment was posted: 0.1
Complies for ppc with no changes (other than creating a PPC project.)

Also, why do you use the C++ std lib?? This is not actually used at all in the code. I removed it from my PPC compile. Remember that the PPC actually includes a static lib if you want C++ std lib.. Intel is lucky it only links against a shared lib ;-)

hehe span
 By Luton Hatter - Posted on May 28, 2002 - 04:21:54   (#1588)
 Current version when comment was posted: 0.1
I wrote one of these last night. Oh well I suppose I can still use it as a learning experance now to check if I got the team name from the right place. :)

obos
 By Androo - Posted on May 28, 2002 - 02:10:18   (#1587)
 Current version when comment was posted: 0.1
you might want to submit this to OBOS, they're looking for this sort of thing

Oops...
 By looncraz - Posted on May 28, 2002 - 00:49:44   (#1585)
 Current version when comment was posted: 0.1
The first seven downloads may have not been exactly right..

I suggest you get this version instead, less of a CPU hog, and it doesn't crap out after waiting for too long. I also commented the code some more so that it would server better as a learning guide.

Oh well.. back to learning some more of this garbage!

--The loon

 
The Green Board
  Recent Downloads  -  # 602
Total Downloads  -  # 2,399
Total Views  -  # 2,430
User Ratings  -  N/A
  Example Code
Shell Utilities
System Utilities
1.  QEMU - 9.62
2.  ScummVM - 9.50
3.  cpu_fix - 9.42
4.  Jukebox - 9.36
5.  Haiku AGP busm... - 9.35
6.  vim6 - 9.31
7.  Beezer - 9.25
8.  BeeF - 9.25
9.  HandBrake - 9.24
10.  DOSBox - 9.22
1.  Ati Radeon Grap... - 250
2.  Realtek RTL8139... - 201
3.  BeOS 5 Personal... - 192
4.  ATI Rage 128 Pr... - 169
5.  Ensoniq AudioPC... - 103
6.  USB Serial driver - 102
7.  DjVu Viewer - 98
8.  Broadcom 440x 10... - 98
9.  VLC Media Player - 71
10.  S3 Trio 64 v2 DX... - 64
You are not logged in.
 Login or create an account...
Hosted by NetConnect

 
Unless otherwise noted, everything is copyright © 1999-2002 Fifth Ace Productions, LLC. All Rights Reserved.
For more legal trivia, take a gander at our
Legal Stuff page and our Privacy Statement.
Fifth Ace Productions