use -g to make debugging.
Segmentation fault: often related to a memory issue (e.g.out of array size or stacksize.)
Stacksize: it consists of a limited amount of address space, often determined at the start of the program. The size of the stack depends on the programming language, machine architecture, multi-threading, and amount of available memory.
A process: in the simplest terms, is an executing program.
A thread: the basic unit to which the operating system allocates processor time. A thread can execute any part of the process code, including parts currently being executed by another thread.
A thread pool: a collection of worker threads that efficiently execute asynchronous callbacks on behalf of the application. The thread pool is primarily used to reduce the number of application threads and provide management of the worker threads.
A fiber: a unit of execution that must be manually scheduled by the application. Fibers run in the context of the threads that schedule them.
No comments:
Post a Comment