Unit Instance
Units API.
See the Weblate's Web API documentation for detailed description of the API.
GET /api/units/1761614/?format=api
{ "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbooksmp_index/fr/?format=api", "source": [ "While locks can protect most data in the case of a preemption, not all of the kernel is preemption safe. For example, if a thread holding a spin mutex preempted and the new thread attempts to grab the same spin mutex, the new thread may spin forever as the interrupted thread may never get a chance to execute. Also, some code such as the code to assign an address space number for a process during `exec` on the Alpha needs to not be preempted as it supports the actual context switch code. Preemption is disabled for these code sections by using a critical section." ], "previous_source": "", "target": [ "" ], "id_hash": -4476678145260551362, "content_hash": -4476678145260551362, "location": "documentation/content/en/books/arch-handbook/smp/_index.adoc:120", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 34, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 104, "source_unit": "https://translate-dev.freebsd.org/api/units/1134228/?format=api", "priority": 100, "id": 1761614, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbooksmp_index/fr/?checksum=41dfa4f201fd833e", "url": "https://translate-dev.freebsd.org/api/units/1761614/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-01-22T18:20:33.710512Z" }