Unit Instance
Units API.
See the Weblate's Web API documentation for detailed description of the API.
GET /api/units/229213/?format=api
{ "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/articles_linux-emulation/es/?format=api", "source": [ "The locking is implemented to be per-subsystem because we do not expect a lot of contention on these. There are two locks: <literal>emul_lock</literal> used to protect manipulating of <literal>linux_emuldata</literal> and <literal>emul_shared_lock</literal> used to manipulate <literal>linux_emuldata_shared</literal>. The <literal>emul_lock</literal> is a nonsleepable blocking mutex while <literal>emul_shared_lock</literal> is a sleepable blocking <literal>sx_lock</literal>. Due to the per-subsystem locking we can coalesce some locks and that is why the em find offers the non-locking access." ], "previous_source": "The locking is implemented to be per-subsystem because we do not expect a lot of contention on these. There are two locks: <literal>emul_lock</literal> used to protect manipulating of <literal>linux_emuldata</literal> and <literal>emul_shared_lock</literal> used to manipulate <literal>linux_emuldata_shared</literal>. The <literal>emul_lock</literal> is a nonsleepable blocking mutex while <literal>emul_shared_lock</literal> is a sleepable blocking <literal>sx_lock</literal>. Because of the per-subsystem locking we can coalesce some locks and that is why the em find offers the non-locking access.", "target": [ "el bloqueo se implementa para ser por subsistema porque no esperamos mucha contención sobre estos. Hay dos candados:<literal>emul_lock</literal> utilizado para proteger la manipulación de <literal>linux_emuldata</literal> y <literal>emul_shared_lock</literal> usado para manipular <literal>linux_emuldata_shared</literal>. El <literal>emul_lock</literal> es un mutex de bloqueo que no se puede dormir mientras <literal>emul_shared_lock</literal> es un bloqueo dormible <literal>sx_lock</literal>. Debido al bloqueo por subsistema, podemos fusionar algunos bloqueos y es por eso que em find ofrece acceso sin bloqueo." ], "id_hash": -7958131764761216928, "content_hash": -7958131764761216928, "location": "article.translate.xml:1796", "context": "", "note": "(itstool) path: sect3/para", "flags": "", "labels": [], "state": 10, "fuzzy": true, "translated": false, "approved": false, "position": 270, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 70, "source_unit": "https://translate-dev.freebsd.org/api/units/229208/?format=api", "priority": 100, "id": 229213, "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/articles_linux-emulation/es/?checksum=118f0952eda7b860", "url": "https://translate-dev.freebsd.org/api/units/229213/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-01-09T14:33:01.109664Z" }