Unit Instance
Units API.
See the Weblate's Web API documentation for detailed description of the API.
GET /api/units/1761591/?format=api
https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbooksmp_index/fr/?format=api", "source": [ "This requires one to take special care when using an item protected by atomic instructions. For example, in the sleep mutex implementation, we have to use an `atomic_cmpset` rather than an `atomic_set` to turn on the `MTX_CONTESTED` bit. The reason is that we read the value of `mtx_lock` into a variable and then make a decision based on that read. However, the value we read may be stale, or it may change while we are making our decision. Thus, when the `atomic_set` executed, it may end up setting the bit on another value than the one we made the decision on. Thus, we have to use an `atomic_cmpset` to set the value only if the value we made the decision on is up-to-date and valid." ], "previous_source": "", "target": [ "" ], "id_hash": 3413074382387017462, "content_hash": 3413074382387017462, "location": "documentation/content/en/books/arch-handbook/smp/_index.adoc:73", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 11, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 125, "source_unit": "https://translate-dev.freebsd.org/api/units/1134182/?format=api", "priority": 100, "id": 1761591, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbooksmp_index/fr/?checksum=af5dad114a29f6f6", "url": "https://translate-dev.freebsd.org/api/units/1761591/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-01-22T18:20:33.694460Z" }{ "translation": "