pause() problems

well is gets stuck and i dont know why.......

	pid=fork\(\);
	if\(pid==0\)
	\{
		pause\(\);
		write\(1,"child",5\);
		exit\(0\);
	\}
	else
	\{
sleep\(1\);
		kill\(pid,SIGCONT\);
                    write\(1,"parent",5\);
		wait\(0\);
		
		
	\}
all=1;
exit\(0\);

Can anybody tell me please why is that so?

Ok.Another question from another side. How can make a parent to wait until children will be all paused?