Sponsored Content
Top Forums Programming C Sleep function hangs @ __kernel_vsyscall () Post 302531476 by dragonpoint on Friday 17th of June 2011 01:17:46 AM
Old 06-17-2011
I had the code running on the system, before enabling hyperthreading. Does HT/ SMP have any side effects? I am not using any pthread libs either.

PS:
I apologize, i couldn't get access to the code since its on my work m/c and am at home. I will try to get some snippets posted tomoro.
 

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Sleep under one second

If I want a script to sleep for less than a second, would I use a decimal? In other words, if I wanted my script to sleep for 1/4 of a second, would I say, SLEEP .25 ?? (5 Replies)
Discussion started by: Scoogie
5 Replies

2. Shell Programming and Scripting

Wrapping 'sleep' with my 'resleep' function (Resettable sleep)

This is a very crude attempt in Bash at something that I needed but didn't seem to find in the 'sleep' command. However, I would like to be able to do it without the need for the temp file. Please go easy on me if this is already possible in some other way: How many times have you used the... (5 Replies)
Discussion started by: deckard
5 Replies

3. Shell Programming and Scripting

Help with sleep function

Hey everyone, just entering the linux world, I need some help with a shell script i'm trying to write, the purpose is to check every 10 minutes what was the last time a certain file was modified, and if there is a connection to the server at this moment send an email with the date of the... (2 Replies)
Discussion started by: moshe88
2 Replies

4. Programming

__kernel_vsyscall ()

I'm trying to compile a program called varkon, but after I chose an option from the main screen it gives me a segfault. The code is to long for me to go through it all, so I tried using gdb. This was the output: Reading symbols from /home/oliverj/Downloads/varkon/bin/xvarkon...(no debugging... (5 Replies)
Discussion started by: weirdo77
5 Replies

5. Shell Programming and Scripting

How the Sleep function will work?

Hi All, I am new to Unix , there i am facing one problem with sleep command. that is .. in while loop i have defined sleep function .. my condition is like this while #i knew this is infinite loop do sleep 200 echo "hello " done. this condition will never become .. true... (3 Replies)
Discussion started by: mandlysreedhar
3 Replies

6. Red Hat

core dump analysis : __kernel_vsyscall ()

We have just enabled core dump on our RHEL5.7 OS. the java process is terminating very often so we enable core dump to analysis the issue and find below in core dump file. Core was generated by `/usr/java/jdk1.6.0_06//bin/java -server -Xms1536m -Xmx1536m -Xmn576m -XX:+Aggre'. Program... (0 Replies)
Discussion started by: pawankkamboj
0 Replies

7. Programming

Sleep function not detected

Hello Im using geany to write my c codes. Below is my code to make the internal LED of beaglebone flashing. But i cant seem to use the sleep or delay to make the program wait for a couple of miliseconds. I've included all include files that i can find but none of it solve the problem. Any help is... (1 Reply)
Discussion started by: HellRyder
1 Replies

8. Programming

Doubt with signals and sleep function

Hi , I have a doubt with signals and sleep function. In a program i have this while(1) { //do some work sleep(1); }And in a thread i have something like this union sigval data; char message; char msg; data.sival_int=0; while(1) { ... (4 Replies)
Discussion started by: bacesado
4 Replies

9. Shell Programming and Scripting

While loop hangs in function running in background

Hello Everyone, I am writing a shell script to fetch log files from remote servers within a time range. It copies log files to local server, grep for date and then compares the time stamp of each log entry with the once specified. Below is the code. # Get log and Parsing function ... (1 Reply)
Discussion started by: kanagalamurali
1 Replies
smpeg-config(1) 					      General Commands Manual						   smpeg-config(1)

NAME
smpeg-config - script to get information about the installed version of SMPEG SYNOPSIS
smpeg-config [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version] [--libs] [--cflags] DESCRIPTION
smpeg-config is a tool that is used to determine the compiler and linker flags that should be used to compile and link programs that use SMPEG library. OPTIONS
--version Print the currently installed version of SMPEG on the standard output. --libs Print the linker flags that are necessary to link a SMPEG-using program. --library-libs Print the linker flags that are necessary to link a library that uses SMPEG. (This excludes any static objects required for link- ing, since these must be linked only by executable programs.) --plugin-libs Print the linker flags that are necessary to link an SMPEG-using object that is to be accessed via dlopen(3). This may include static objects with PIC symbol information. This option should not be used for ordinary shared libraries or standalone applica- tions. --cflags Print the compiler flags that are necessary to compile a SMPEG-using library or program. --prefix=PREFIX If specified, use PREFIX instead of the installation prefix that SMPEG was built with when computing the output for the --cflags and --libs options. This option is also used for the exec prefix if --exec-prefix was not specified. This option must be specified before any --libs, --library-libs, --plugin-libs or --cflags options. --exec-prefix=PREFIX If specified, use PREFIX instead of the installation exec prefix that SMPEG was built with when computing the output for the --cflags, --libs, --library-libs and --plugin-libs options. This option must be specified before any --libs, --library-libs, --plugin-libs or --cflags options. AUTHOR
The SDL MPEG Player Library was written by Karl Robillard and Sam Lantinga of Loki Entertainment Software. Please report any bugs and/or fixes to smpeg@lokigames.com. Streaming MPEG support was contributed by Vivien Chappelier. This manual page was written by Stefan Gybas <sgybas@debian.org> and modified by Joe Drew <drew@debian.org> and Branden Robinson <bran- den@debian.org> for the Debian GNU/Linux operating system, but may be used by others. smpeg-config(1)
All times are GMT -4. The time now is 02:44 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy