§
    ƒnócÔ  ã                  ó^   — d dl mZ 	 d dlZd dlZddlmZ ddlmZ	 dgZ
 G d„ de	¦  «        ZdS )é    )ÚannotationsNé   )ÚMesonException)ÚBuildDirLockr   c                  ó   — e Zd Zdd„Zd	d„ZdS )
r   ÚreturnÚNonec                ó(  — t          | j        dd¬¦  «        | _        	 t          j        | j                             ¦   «         t          j        d¦  «         d S # t          t          f$ r) | j         	                    ¦   «          t          d¦  «        ‚w xY w)NÚwzutf-8)Úencodingr   zHSome other Meson process is already using this build directory. Exiting.)ÚopenÚlockfilenameÚlockfileÚmsvcrtÚlockingÚfilenoÚLK_NBLCKÚBlockingIOErrorÚPermissionErrorÚcloser   )Úselfs    ú8/usr/lib/python3/dist-packages/mesonbuild/utils/win32.pyÚ	__enter__zBuildDirLock.__enter__   s’   € Ý˜TÔ.°¸gÐFÑFÔFˆŒð	mÝŒN˜4œ=×/Ò/Ñ1Ô1µ6´?ÀAÑFÔFÐFÐFÐFøÝ¥Ð1ð 	mð 	mð 	mØŒM×ÒÑ!Ô!Ð!Ý Ð!kÑlÔlÐlð	møøøs   ž7A Á:BÚargsúT.Anyc                ó¦   — t          j        | j                             ¦   «         t           j        d¦  «         | j                             ¦   «          d S )Nr   )r   r   r   r   ÚLK_UNLCKr   )r   r   s     r   Ú__exit__zBuildDirLock.__exit__&   s@   € ÝŒ�t”}×+Ò+Ñ-Ô-­v¬ÀÑBÔBÐBØŒ×ÒÑÔÐÐÐó    N)r   r	   )r   r   r   r	   )Ú__name__Ú
__module__Ú__qualname__r   r   © r   r   r   r      s@   € € € € € ðmð mð mð mðð ð ð ð ð r   )Ú
__future__r   r   ÚtypingÚTÚ	universalr   Úplatformr   ÚBuildDirLockBaseÚ__all__r#   r   r   ú<module>r+      s’   ðð  #Ð "Ð "Ð "Ð "Ð "à Aà €€€Ø Ð Ð Ð à %Ð %Ð %Ð %Ð %Ð %Ø 6Ð 6Ð 6Ð 6Ð 6Ð 6àÐ
€ðð ð ð ð Ð#ñ ô ð ð ð r   