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
LIBIDL-CONFIG-2(1)					      General Commands Manual						LIBIDL-CONFIG-2(1)

NAME
libIDL-config-2 - helper script for building with libIDL-2 SYNOPSIS
libIDL-config-2 [ --libs ] [ --cflags ] [ --prefix=dir ] [ --exec-prefix=dir ] libIDL-config-2 [ --version ] [ --help ] DESCRIPTION
libIDL-config-2 is a tool that is used to determine the compiler and linker flags that should be used to compile and link programs that use the libIDL-2 library. This script seems to be semi-obsolete, and may not work correctly on non-Debian systems; you should probably use "pkg-config libIDL-2.0" instead. In most cases, you will use one (or both) of the options --cflags or --libs (depending on whether you are compiling or linking. OPTIONS
libIDL-config-2 accepts the following options: --version Print the currently installed version of library on the standard output. --help Print a usage summary. --libs Print the linker flags that are necessary to link with the specified library. --cflags Print the compiler flags that are necessary to compile a program using the specified library. --prefix=PREFIX If specified, use PREFIX instead of the installation prefix that library 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 or --cflags options. --exec-prefix=PREFIX If specified, use PREFIX instead of the installation exec prefix that library was built with when computing the output for the --cflags and --libs options. This option must be specified before any --libs or --cflags options. SEE ALSO
/usr/share/doc/libidl, info libIDL AUTHOR
Copyright (C) 2001 Andrew T. Veliath <andrewtv@usa.net> This manual was originally written for libIDL-config-2 by Chris Waters for Debian GNU/Linux. Version 0.7.1 21 October 2001 LIBIDL-CONFIG-2(1)
All times are GMT -4. The time now is 11:17 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy