Programming :: Good Book To Learn About Threads In C / C++?
Oct 30, 2010A good book to learn about threads in C/C++?
View 3 RepliesA good book to learn about threads in C/C++?
View 3 RepliesWhat would be a good book/manual to read to learn more about linux o.p. systems? and how to use them.I have to add I may not have such a good internet connection I might end up with free dial up (Bummer)so I'm not sure if a link will do.I will end up at the library anyway. so if you could suggest something that would be good, I'm not really looking for the history but more like how to use, maybe the terminal and such?.
View 4 Replies View RelatedWhat book you recommend to learn programming in C ANSI ?
View 1 Replies View RelatedI've no experience with IPSec. I've used many times OpenVPN (with static key or certificates x509).
Could anyone suggest me a good tutorial in order to learn IPSec vpn with Linux?
I want to know what are these flags,LD,CC,AS,LDS , ...(or labels,I don't know their exact title) during compiling a software in linux?
Is there any good book or website to explain these ?
I want to know your opinions on the best combination of programming languages to learn if you want to learn more than one. An explanation of your choices would be real nice. I've included a multiple-choice poll that has the langauges from the Member's Choice Awards 2009 list of best programming languages on it. Please vote for your choice of languages also. It should be interesting to see what the numbers are like when people can vote this way, and choose more than one language.I'm voting for Python/C just as an "overall" opinion. It's what I'm going to learn. I've done quite a bit of reading and experimenting and this is what I've personally settled on. My opinion is just a personal "overall" opinion. You can also pick just a single language, and vote for just a single language if you think it's better to learn just one.
View 14 Replies View RelatedI wanted to try learning Assembler, I wonder if you know of any good tutorials or hints? I have an x86_64 CPU running (obviously) Linux.
View 14 Replies View Relatedi want a process that can operate as both a TCP echo server and a UDP echo server. The process can provide service to many clients at the same time, but involves a single process that does not start up any other threads.
View 3 Replies View Relatedhave a previous background in internet programming languages such as XHTML, DHTML, CSS and javacsript. I would like to start programming and managing my linux system (like an expert) and starting on linux projects also. My question is which is the best programming language to learn: C, C++ (may b even C+), python, Perl etc... I'm learning BASH right now cause I know its a necessity for linux systems. but what would you guys suggest after that I learn.
View 2 Replies View Relatedubuntu terminal mingling made me want to learn programming, i started with python, using idle workspace (is this the right term?)i got to the stage when i need and want to use SPE workspace.i have downloaded it, but can't type in it - when i type, nothing happens at all.where have i been wrong please ?
View 3 Replies View RelatedI am just starting to learn Linux and am interested in a career in Linux. Actually I wanna go for RHCE, which is the first step for Sys Admin..right?? Basically I do NOT want to go into programming/developing as I don't feel it's my cup of tea (and also may be it sort of boggles me). Still, from what I gather I am having confusions regarding whether I should learn any programming language for a career in Linux.
Here I am avoiding programming..and now I get to hear that Linux career uses programming..That's sort of frustrating...My friend told me I need to "master" C. Do I need to learn some programming language?? If yes, then to how much extent?
i want to learn a scripting language,which one should i go for ,among perl and python.
View 14 Replies View RelatedWhich scripting language to learn for Linux Administration? Python, Ruby, Perl, or PHP?
View 7 Replies View RelatedI am web developer, i am work with php,and want choice best linux for create my project
and learn web server
So a friend and I are new-ish to linux (I am reasonably comfortable with basic /etc text editing, command admin). We are, however, completely new to programming and (x)html. We have a few (what we think are) interesting ideas for dynamic websites.Ideally we would like to develop our own course of study to get to the point where we have a basic understanding of programming so that our adventures in the programming of a dynamic website would be possible. Much of what we need learn to do is the following: use daily updated public-domain data from several other sites, manipulate that data algorithmically, which would then yield updating output on our site. Here is what I would like to do:
1. learn the basics of programming with a language that would teach good code habits and fundamental understanding.
2. become comfortable with (x)html
3. learn another language for the extension of (x)html into a dynamic data-heavy website.
Question could you please suggest a way about going about 1>2>3?Ideally the language of (1) would be something that would not be "wasted" just on web design etc. As a language, C really appeals to me. However, if learning this wouldn't lend itself to being helpful in learning another language for webdesign maybe I shouldn't use it(?).If (1) weren't to be C, what language would be funadmental enough to teach good coding but also be helpful in learning (3)
I went to the sun website but all I see are upgrades to JDK 6, I dont see where to download the actual JDK.
Anyone know where I can download the JDK for Linux?
I have two threads & i want to run it continuously ,with while(1) it is possible . Is there any other way to run the threads continuously
View 12 Replies View RelatedI've got a (very) simple perl xinetd server that I'd like to port to C++. implement something similar using system() or popen() without success.
[code]...
In all the examples I have found the server accepts the client's conection, proccess the data received and close the socket. In an very schematic way it would be something like:
Code:
client_thread{
select to see if there is data to read from socket fd
if there is something to read{
[code]....
Should I use mutexs or semaphores to block the socket fd before read and write or it is not necesary?
How to list all the threads spawned by a process?
View 4 Replies View RelatedI wrote a C program using Pthreads to compute the product of 2 matrices. Each element in the product matrix is computed in a separate thread. Eg: Thread (i,j) computes the element C[i][j] of the matrix C, where C=A*B. A is m*n, B is n*p, C is m*p. m,n,p are given as command-line arguments. A and B are initialized to random values from 1 to 10, while all elements of C are initialized to -1.But some threads do not get their arguments (i,j) correctly. So some elements C[i][j] still remain as -1, even after the program is over. My OS is Ubuntu 10.10 (Maverick Meerkat) 32-bit.I ran the program on another computer and it worked correctly. Is it due to a problem in the Pthreads library in my OS? Please help me. I have attached the source code.
View 3 Replies View RelatedI have doubt regarding cpu sharing between process and threads.In my program iam creating 4threads=> 1 process+4 threads. How is cpu alloted to these all tasks. Is here process is getting cpu time like thread or having more cpu time than threads.
View 1 Replies View RelatedIn posix multi threading, how to send thread1 local data to thread2...?
View 3 Replies View RelatedCode:
void* thread(void* arg)
{
[code]....
I have 2 threads and both of them are deleting memory at the end nedded by both.
My problem is that maybe it can happen that a thread start and finish before the other one starts and so it deletes the memory nedded by the other thread. How can I synchronize them so that this can't happend.
As a design my threads look like this:
Code:
The other thread looks the same, but this isn't unoff to stop thread1 to finish before thread2 starts.
I am learning network programming via a book of Richard Stevens.The sample source codes are given here
http://www.unpbook.com/unpv13e.tar.gz
I downloaded and unzipped the file in /usr/src folder.As per the instructions given in README of downloaded archive I did.
Please I want Know the code of the Merge Sort with threads in C
View 7 Replies View RelatedIS there any command to see number of threads are running in a process .I have check ps -eLf but it wont show display for all the threads
View 1 Replies View RelatedHow to communicate between two threads using message queue?
View 4 Replies View RelatedFedora15 32bit. I write a test program, it creates new thread continually, the thread does nothing but sleep. I find virtual memory increases up almost 10Mb when a new thread is created. and when there's more than 200 threads, the virtual memory used by the program is 3Gb, and now cann't create new thread. but on windows, it costs little memory. What can I do to config the operation system to take less memory on threads?
View 11 Replies View Related