This is a creation in Article, where the information may have evolved or changed.
To view the assembly code for your own program:
Objdump-s-D./hello
GDB Debug program, related commands. Man GDB
Assembly. The CPU platform is different, the instruction form is different, the compiler used is different, the way is also different. such as 80x86, T, PowerPC and so on.
Libraries: Static libraries and dynamic libraries.
Use AR command to generate static library, input ar rc libtestfunc.a testfunc.o link run.
Dynamic libraries:. So windows. DLL Programming differences
The timer under Linux.
Automatic compilation tool under Linux: Autoconf, Automake
Process: fork, wait, etc functions
Signal Processing: signal function
interprocess communication: Pipelines, shared memory, socket communication, etc.
The pipeline is very simple to use, after creating the anonymous pipeline, we only need to send data from one pipe, and then accept the data from another pipeline.
Multithreading: All data is shared by different threads except the stack space. multiple processes are supported by the Linux kernel itself, while multi-threading requires a corresponding dynamic library (pthread?). For support.
Multithreaded wait function:pthread_join.
multithreading Mutex: Span style= "font-family:arial; font-size:14px; line-height:26px; Text-align:left "> thread mutex is indispensable. Under Linux, the most commonly used tool for writing multithreading is actually pthread_mutex_t. Essentially, it is the same as the mutex under Windows, with almost no difference.
Network programming: TCP/IP protocol stack. Linux under/net/ipv4/net/ipv6 socket
/span>