First  |  Prev |  Next  |  Last
Pages: 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
Basic Shell concept
I'm trying to build a very basic shell (like bash but..bad). And I've decided the best way to do this would be to make my programs separately and put them in their own directory, much like /bin. Well how can I set something like this up. I tell my shell 'ls' and it looks in the directory I choose to store the data ... 28 Mar 2010 03:36
creating a socket
Would this header be all I need to create a socket for an smtp and pop connection? ... 31 Mar 2010 16:35
Not able to change baud rate
Hi all, I have a video streaming device running Linux. when i change the baud rate using the 'stty' command,it changes temporarily for few seconds. Then again it changes to 115200 automatically. Please find below the /etc/inittab file & the /etc/init.d/rcS file for reference. inittab: ###### # /etc/init... 25 Mar 2010 01:00
Learn about proxy sites and how to use them
And, following a series of proxy sites blocked open any page or download from RapidShare download sites have all accelerated the internet for free How to benfite form a proxy site: 1 - make your browsing experience is safe as it changes the address of your computer one can not spying on you or to know what to do... 24 Mar 2010 05:29
cpu time usage of multi threaded process and single threaded process.
these are 2 programs for matrix multiplication. :- 1st one is implemented using multiple threading and 2nd using single threading. Process' Cpu time for both comes out to be same ..... but should be less for multi threaded process. Plzz help why Cpu time is same.... ? program1 using multiple threading :- #i... 24 Mar 2010 19:20
How to Remove CVS Directories as a Bash Command?
I never knew find had those options. Sometimes find can do your entire task just with its builtin options. See the man page, there's alot to it. ... 23 Mar 2010 08:58
Attaching data to a file descriptor
In article <ho90v5$u2t$1(a)>, David Given <dg(a)> writes: The simplest way I can think of is to open a fd to an unlinked temporary file with some data in it. The child can then call pread() on this, read the data, and recreate the fake file descriptor from this. (It can't use... 26 Mar 2010 09:08
Not printing in thread function
Hi, Following program is to parallelize Matrix Multiplication using Threads. My problem is that , my proogram is not printing anything in function "thread_function". Kindly Help. #include<signal.h> #include<stdio.h> #include<sys/types.h> #include<unistd.h> #include<pthread.h> #include<time.h> // dec... 25 Mar 2010 05:45
pseudoterminals and close
For testing, I've coded this simple forkpty example in linux (ubuntu 9.10): #define BUF_SIZE 128 #define max(i, j) ((i > j) ? (i) : (j)) void selector (int fd) { char buf[BUF_SIZE]; int n; fd_set ss, ret; FD_ZERO(&ss); FD_SET(fd, &ss); FD_SET(STDIN_FILENO,... 22 Mar 2010 06:03
Can extra processing threads help in this case?
I have an application that uses enormous amounts of RAM in a very memory bandwidth intensive way. I recently upgraded my hardware to a machine with 600% faster RAM and 32-fold more L3 cache. This L3 cache is also twice as fast as the prior machines cache. When I benchmarked my application across the two machines,... 24 Mar 2010 07:42
First  |  Prev |  Next  |  Last
Pages: 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35