Haha, that came out wrong.
It means instead of
1
2
3
4
5
Long Pause (longer than usleep)
Type: Posts; User: Smartiepants586
Haha, that came out wrong.
It means instead of
1
2
3
4
5
Long Pause (longer than usleep)
Examing it more carefully and experimenting with the the value of the usleep, I have found that changing the value changes the amount of times it runs through before a longer pause
It is still doing the same thing, I think it may have something to do with the scheduling on the unix box, since things are being run in round robin format, could it have to do with the shares, it...
#include <unistd.h>
#include <stdio.h>
#define MAX 250
int main()
{
int a=0;
while(a<=MAX)
{printf("2\n");
I have a piece of code which is just a simple printf statement followed by a usleep command. Then it is just looped.
I am running this on solaris 8, and what happens is a bunch of output will...
Unix/gcc
Is there any way to specify that you want something loaded to memory and not to the page file?
I have an array which should easily fit in memory, 600mb on 2056, but it insists on loading it to the...
Yeah its pretty much like that.
I would rather not falsify it, but use system resources doing useless tasks.
It would be in order to test how an app performs with limited resources, ie does it hang, crash, or just degrade in...
I have to simulate load on a computer. Ideally what I would like to do is be able to manipulate the load on the computer, ie load it to like 20% per instance running. Or be able to vary it within...