Ñò
u©×Nc           @   sL   d  d k  l Z l Z d  d k l Z d  d k l Z d „  Z d „  Z d S(   iÿÿÿÿ(   t
   threadlistt   InstanceLimitedThread(   t   SyncableAccount(   t   currentThreadc         C   sY   t  | | ƒ } t d d d | i d d | ƒ } | i d ƒ | i ƒ  |  i | ƒ d  S(   Nt   instancenamet   ACCOUNTLIMITt   targett   names   Account sync %si   (   R   R   t
   syncrunnert	   setDaemont   startt   add(   t   threadst   configt   accountnamet   accountt   thread(    (    sz   /projectLibrary/707976 EPBuoyPrototypeAndTesting/SpotWatchCircleAlarm/spaetz-offlineimap-5f3ac2c/offlineimap/syncmaster.pyt   syncaccount   s    	
c         C   sH   t  ƒ  i d ƒ t ƒ  } x |  D] } t | | | ƒ q  W| i ƒ  d  S(   Nt   SYNC_WITH_TIMER_TERMINATE(   R   t   setExitMessageR    R   t   reset(   t   accountsR   R   R   (    (    sz   /projectLibrary/707976 EPBuoyPrototypeAndTesting/SpotWatchCircleAlarm/spaetz-offlineimap-5f3ac2c/offlineimap/syncmaster.pyt	   syncitall    s    	 N(	   t   offlineimap.threadutilR    R   t   offlineimap.accountsR   t	   threadingR   R   R   (    (    (    sz   /projectLibrary/707976 EPBuoyPrototypeAndTesting/SpotWatchCircleAlarm/spaetz-offlineimap-5f3ac2c/offlineimap/syncmaster.pyt   <module>   s   		