What is the word for something that is non-divisible?


I'm looking for a generic word, an adjective, that means non-divisible. Like the opposite of compound.


I am looking for a word I can use in the context of programming, where you can have data types that are compound of other data types. I want a word to identify the "indivisible" data types.



Answer



The best word for something that cannot be split in a programming context is atomic.


This is used a lot, and is essential for interruptible programming. For example, in a signal handler you should only touch variables of type sig_atomic_t and storage class volatile, as explained here.


Comments

Popular posts from this blog

verbs - "Baby is creeping" vs. "baby is crawling" in AmE

commas - Does this sentence have too many subjunctives?

time - English notation for hour, minutes and seconds

grammatical number - Use of lone apostrophe for plural?

etymology - Origin of "s--t eating grin"

etymology - Where does the phrase "doctored" originate?

word choice - Which is the correct spelling: “fairy” or “faerie”?