Câu ví dụ
- thêm câu ví dụ: 1 2 3 4
- For the most part, the code is not retroactive.
Về cơ bản thì tasklet là không reentrant. - reentrant, but not thread-safe.
Có reentrant nhưng không thread-safe: - Reentrant, but not thread-safe.
Có reentrant nhưng không thread-safe: - POSIX uses a somewhat different definition of reentrancy and thread-safety for its C APIs.
POSIX sử dụng định nghĩa về reentrant và thread-safe có phần khác biệt đối với các API C của nó. - A thread-safe function is always reentrant, but a reentrant function is not always thread-safe because
Do đó, một ren an toàn chức năng luôn luôn reentrant, nhưng một reentrant chức năng không phải lúc nào cũng an toàn.