nfo                         Feature: Rsat.ActiveDirectory.DS-LDS.Tools~~1.0 found. Adding packages to it
2020-11-28 12:12:58, Info                         CompdB: has Group: Microsoft, FMID: MSDN, Feature: Rsat.BitLocker.Recovery.Tools~~1.0
2020-11-28 12:12:58, Info                         Feature: Rsat.BitLocker.Recovery.Tools~~1.0 found. Adding packages to it
2020-11-28 12:12:58, Info                         CompdB: has Group: Microsoft, FMID: MSDN, Feature: Rsat.CertificateServices.Tools~~1.0
2020-11-28 12:12:58, Info                         Feature: Rsat.CertificateServices.Tools~~1.0 found. Adding packages to it
2020-11-28 12:12:58, Info                         CompdB: has Group: Microsoft, FMID: MSDN, Feature: Microsoft.Composition.Test~~1.0
2020-11-28 12:12:58, Info                         Feature: Microsoft.Composition.Test~~1.0 found. Adding packages to it
2020-11-28 12:12:58, Info                         CompdB: has Group: Microsoft, FMID: MSDN, Feature: Rsat.DHCP.Tools~~1.0
2020-11-28 12:12:58, Info                         Feature: Rsat.DHCP.Tools~~1.0 found. Adding packages to it
2020-11-28 12:12:58, Info                         CompdB: has Group: Microsoft, FMID: MSDN, Feature: Rsat.Dns.Tools~~1.0
2020-11-28 12:12:58, Info                         Feature: Rsat.Dns.Tools~~1.0 found. Adding packages to it
2020-11-28 12:12:58, Info                         CompdB: has Group: Microsoft, FMID: MSDN, Feature: Windows.Desktop.EMS-SAC.Tools~~1.0
2020-11-28 12:12:58, Info                         Feature: Windows.Desktop.EMS-SAC.Tools~~1.0 found. Adding packages to it
2020-11-28 12:12:58, Info                         CompdB: has Group: Microsoft, FMID: MSDN, Feature: Rsat.FailoverCluster.Management.Tools~~1.0
2020-11-28 12:12:58, Info                         Feature: Rsat.FailoverCluster.Management.Tools~~1.0 found. Adding packages to it
2020-11-28 12:12:58, Info                         CompdB: has Group: Microsoft, FMID: MSDN, Feature: Rsat.FileServices.Tools~~1.0
2020-11-28 12:12:58, Info                         Feature: Rsat.FileServices.Tools~~1.0 found. Adding packages to it
2020-11-28 12:12:58, Info                         CompdB: has Group: Microsoft, FMID: MSDN, Feature: Rsat.GroupPolicy.Management.Tools~~1.0
2020-11-28 12:12:58, Info                         Feature: Rsat.GroupPolicy.Management.Tools~~1.0 found. Adding packages to it
2020-11-28 12:12:58, Info                         CompdB: has Group: Microsoft, FMID: MSDN, Feature: Rsat.IPAM.Client.Tools~~1.0
2020-11-28 12:12:58, Info                         Feature: Rsat.IPAM.Client.Tools~~1.0 found. Adding packages to it
2020-11-28 12:12:58, Info                         CompdB: has Group: Microsoft, FMID: MSDN, Feature: Network.Irda~~1.0
2020-11-28 12:12:58, Info                         Feature: Network.Irda~~1.0 found. Adding packages to it
2020-11-28 12:12:58, Info                         CompdB: has Group: Microsoft, FMID: MSDN, Feature: Media.MediaFeaturePack~~1.0
2020-11-28 12:12:58, Info                         Feature: Media.MediaFeaturePack~~1.0 found. Adding packages to it
2020-11-28 12:12:58, Info                         CompdB: has Group: Microsoft, FMID: MSDN, Feature: Microsoft.Windows.MSPaint~~1.0
2020-11-28 12:12:58, Info                         Feature: Microsoft.Windows.MSPaint~~1.0 found. Adding packages to it
2020-11-28 12:12:58, Info                         CompdB: has Group: Microsoft, FMID: MSDN, Feature: Rsat.NetworkController.Tools~~1.0
2020-11-28 12:12:58, Info                         Feature: Rsat.NetworkController.Tools~~1.0 found. Adding packages to it
2020-11-28 12:12:58, Info                         CompdB: has Group: Microsoft, FMID: MSDN, Feature: Rsat.NetworkLoadBalancing.Tools~~1.0
2020-11-28 12:12:58, Info                         Feature: Rsat.NetworkLoadBalancing.Tools~~1.0 found. Adding packages to it
2020-11-28 12:12:58, Info                         CompdB: has Group: Microsoft, FMID: MSDN, Feature: Microsoft.Windows.Notepad~~1.0
2020-11-28 12:12:58, Info                         Feature: Microsoft.Windows.Notepad~~1.0 found. Adding packages to it
2020-11-28 12:12:58, Info                         CompdB: has Group: Microsoft, FMID: MSDN, Feature: Microsoft.Windows.PowerShell.ISE~~1.0
2020-11-28 12:12:58, Info                         Feature: Microsoft.Windows.PowerShell.ISE~~1.0 found. Adding packages to it
2020-11-28 12:12:58, Info                         CompdB: has Group: Microsoft, FMID: MSDN, Feature: Print.Management.Console~~1.0
2020-11-28 12:12:58, Info                         Feature: Print.Management.Console~~1.0 found. Adding packages to it
2020-11-28 12:12:58, Info                         CompdB: has Group: Microsoft, FMID: MSDN, Feature: Print.Fax.Scan~~1.0
2020-11-28 12:12:58, Info                         Feature: Print.Fax.Scan~~1.0 found. Adding packages to it
2020-11-28 12:12:58, Info                         CompdB: has Group: Microsoft, FMID: MSDN, Feature: RasCMAK.Client~~1.0
2020-11-28 12:12:58, Info                         Feature: RasCMAK.Client~~1.0 found. Adding packages to it
2020-11-28 12:12:58, Info                         CompdB: has Group: Microsoft, FMID: MSDN, Feature: RIP.Listener~~1.0
2020-11-28 12:12:58, Info                         Feature: RIP.Listener~~1.0 found. Adding packages to it
2020-11-28 12:12:58, Info                         CompdB: has Group: Microsoft, FMID: MSDN, Feature: Rsat.RemoteAccess.Management.Tools~~1.0
2020-11-28 12:12:58, Info                         Feature: Rsat.RemoteAccess.Management.Tools~~1.0 found. Adding packages to it
2020-11-28 12:12:58, Info                         CompdB: has Group: Microsoft, FMID: MSDN, Feature: Rsat.RemoteDesktop.Services.Tools~~1.0
2020-11-28 12:12:58, Info                         Feature: Rsat.RemoteDesktop.Services.Tools~~1.0 found. Adding packages to it
2020-11-28 12:12:58, Info                         CompdB: has Group: Microsoft, FMID: MSDN, Feature: ServerCore.AppCompatibility~~1.0
2020-11-28 12:12:58, Info                         Feature: ServerCore.AppCompatibility~~1.0 found. Adding packages to it
2020-11-28 12:12:58, Info                         CompdB: has Group: Microsoft, FMID: MSDN, Feature: Rsat.ServerManager.Tools~~1.0
2020-11-28 12:12:58, Info                         Feature: Rsat.ServerManager.Tools~~1.0 found. Adding packages to it
2020-11-28 12:12:58, Info                         CompdB: has Group: Microsoft, FMID: MSDN, Feature: Rsat.Shielded.VM.Tools~~1.0
2020-11-28 12:12:58, Info                         Feature: Rsat.Shielded.VM.Tools~~1.0 found. Adding packages to it
2020-11-28 12:12:58, Info                         CompdB: has Group: Microsoft, FMID: MSDN, Feature: SNMP.Client~~1.0
2020-11-28 12:12:58, Info                         Feature: SNMP.Client~~1.0 found. Adding packages to it
2020-11-28 12:12:58, Info                         CompdB: has Group: Microsoft, FMID: MSDN, Feature: App.StepsRecorder~~1.0
2020-11-28 12:12:58, Info                         Feature: App.StepsRecorder~~1.0 found. Adding packages to it
2020-11-28 12:12:58, Info                         CompdB: has Group: Microsoft, FMID: MSDN, Feature: Microsoft.Windows.StorageManagement~~1.0
2020-11-28 12:12:58, Info                         Feature: Microsoft.Windows.StorageManagement~~1.0 found. Adding packages to it
2020-11-28 12:12:58, Info                         CompdB: has Group: Microsoft, FMID: MSDN, Feature: Rsat.StorageMigrationService.Management.Tools~~1.0
2020-11-28 12:12:58, Info                         Feature: Rsat.StorageMigrationService.Management.Tools~~1.0 found. Adding packages to it
2020-11-28 12:12:58, Info                         CompdB: has Group: Microsoft, FMID: MSDN, Feature: Rsat.StorageReplica.Tools~~1.0
2020-11-28 12:12:58, Info                         Feature: Rsat.StorageReplica.Tools~~1.0 found. Adding packages to it
2020-11-28 12:12:58, Info                         CompdB: has Group: Microsoft, FMID: MSDN, Feature: Rsat.SystemInsights.Management.Tools~~1.0
2020-11-28 12:12:58, Info                         Feature: Rsat.SystemInsights.Management.Tools~~1.0 found. A}
      while (count);

      if (__gthrw_(pthread_mutex_destroy) ((pthread_mutex_t *) mutex->backend))
	return -1;

      objc_free (mutex->backend);
      mutex->backend = NULL;
    }
  return 0;
}

/* Grab a lock on a mutex.  */
static inline int
__gthread_objc_mutex_lock (objc_mutex_t mutex)
{
  if (__gthread_active_p ()
      && __gthrw_(pthread_mutex_lock) ((pthread_mutex_t *) mutex->backend) != 0)
    {
      return -1;
    }

  return 0;
}

/* Try to grab a lock on a mutex.  */
static inline int
__gthread_objc_mutex_trylock (objc_mutex_t mutex)
{
  if (__gthread_active_p ()
      && __gthrw_(pthread_mutex_trylock) ((pthread_mutex_t *) mutex->backend) != 0)
    {
      return -1;
    }

  return 0;
}

/* Unlock the mutex */
static inline int
__gthread_objc_mutex_unlock (objc_mutex_t mutex)
{
  if (__gthread_active_p ()
      && __gthrw_(pthread_mutex_unlock) ((pthread_mutex_t *) mutex->backend) != 0)
    {
      return -1;
    }

  return 0;
}

/* Backend condition mutex functions */

/* Allocate a condition.  */
static inline int
__gthread_objc_condition_allocate (objc_condition_t condition)
{
  if (__gthread_active_p ())
    {
      condition->backend = objc_malloc (sizeof (pthread_cond_t));

      if (__gthrw_(pthread_cond_init) ((pthread_cond_t *) condition->backend, NULL))
	{
	  objc_free (condition->backend);
	  condition->backend = NULL;
	  return -1;
	}
    }

  return 0;
}

/* Deallocate a condition.  */
static inline int
__gthread_objc_condition_deallocate (objc_condition_t condition)
{
  if (__gthread_active_p ())
    {
      if (__gthrw_(pthread_cond_destroy) ((pthread_cond_t *) condition->backend))
	return -1;

      objc_free (condition->backend);
      condition->backend = NULL;
    }
  return 0;
}

/* Wait on the condition */
static inline int
__gthread_objc_condition_wait (objc_condition_t condition, objc_mutex_t mutex)
{
  if (__gthread_active_p ())
    return __gthrw_(pthread_cond_wait) ((pthread_cond_t *) condition->backend,
			      (pthread_mutex_t *) mutex->backend);
  else
    return 0;
}

/* Wake up all threads waiting on this condition.  */
static inline int
__gthread_objc_condition_broadcast (objc_condition_t condition)
{
  if (__gthread_active_p ())
    return __gthrw_(pthread_cond_broadcast) ((pthread_cond_t *) condition->backend);
  else
    return 0;
}

/* Wake up one thread waiting on this condition.  */
static inline int
__gthread_objc_condition_signal (objc_condition_t condition)
{
  if (__gthread_active_p ())
    return __gthrw_(pthread_cond_signal) ((pthread_cond_t *) condition->backend);
  else
    return 0;
}

#else /* _LIBOBJC */

static inline int
__gthread_create (__gthread_t *__threadid, void *(*__func) (void*),
		  void *__args)
{
  return __gthrw_(pthread_create) (__threadid, NULL, __func, __args);
}

static inline int
__gthread_join (__gthread_t __threadid, void **__value_ptr)
{
  return __gthrw_(pthread_join) (__threadid, __value_ptr);
}

static inline int
__gthread_detach (__gthread_t __threadid)
{
  return __gthrw_(pthread_detach) (__threadid);
}

static inline int
__gthread_equal (__gthread_t __t1, __gthread_t __t2)
{
  return __gthrw_(pthread_equal) (__t1, __t2);
}

static inline __gthread_t
__gthread_self (void)
{
  return __gthrw_(pthread_self) ();
}

static inline int
__gthread_yield (void)
{
  return __gthrw_(sched_yield) ();
}

static inline int
__gthread_once (__gthread_once_t *__once, void (*__func) (void))
{
  if (__gthread_active_p ())
    return __gthrw_(pthread_once) (__once, __func);
  else
    return -1;
}

static inline int
__gthread_key_create (__gthread_key_t *__key, void (*__dtor) (void *))
{
  return __gthrw_(pthread_key_create) (__key, __dtor);
}

static inline int
__gthread_key_delete (__gthread_key_t __key)
{
  return __gthrw_(pthread_key_delete) (__key);
}

static inline void *
__gthread_getspecific (__gthread_key_t __key)
{
  return __gthrw_(pthread_getspecific) (__key);
}

static inline int
__gthread_setspecific (__gthread_key_t __key, const void *__ptr)
{
  return __gthrw_(pthread_setspecific) (__key, __ptr);
}

static inline void
__gthread_mutex_init_function (__gthread_mutex_t *__mutex)
{
  if (__gthread_active_p ())
    __gthrw_(pthread_mutex_init) (__mutex, NULL);
}

static inline int
__gthread_mutex_destroy (__gthread_mutex_t *__mutex)
{
  if (__gthread_active_p ())
    return __gthrw_(pthread_mutex_destroy) (__mutex);
  else
    return 0;
}

static inline int
__gthread_mutex_lock (__gthread_mutex_t *__mutex)
{
  if (__gthread_active_p ())
    return __gthrw_(pthread_mutex_lock) (__mutex);
  else
    return 0;
}

static inline int
__gthread_mutex_trylock (__gthread_mutex_t *__mutex)
{
  if (__gthread_active_p ())
    return __gthrw_(pthread_mutex_trylock) (__mutex);
  else
    return 0;
}

#if _GTHREAD_USE_MUTEX_TIMEDLOCK
static inline int
__gthread_mutex_timedlock (__gthread_mutex_t *__mutex,
			   const __gthread_time_t *__abs_timeout)
{
  if (__gthread_active_p ())
    return __gthrw_(pthread_mutex_timedlock) (__mutex, __abs_timeout);
  else
    return 0;
}
#endif

static inline int
__gthread_mutex_unlock (__gthread_mutex_t *__mutex)
{
  if (__gthread_active_p ())
    return __gthrw_(pthread_mutex_unlock) (__mutex);
  else
    return 0;
}

#if !defined( PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP) \
  || defined(_GTHREAD_USE_RECURSIVE_MUTEX_INIT_FUNC)
static inline int
__gthread_recursive_mutex_init_function (__gthread_recursive_mutex_t *__mutex)
{
  if (__gthread_active_p ())
    {
      pthread_mutexattr_t __attr;
      int __r;

      __r = __gthrw_(pthread_mutexattr_init) (&__attr);
      if (!__r)
	__r = __gthrw_(pthread_mutexattr_settype) (&__attr,
						   PTHREAD_MUTEX_RECURSIVE);
      if (!__r)
	__r = __gthrw_(pthread_mutex_init) (__mutex, &__attr);
      if (!__r)
	__r = __gthrw_(pthread_mutexattr_destroy) (&__attr);
      return __r;
    }
  return 0;
}
#endif

static inline int
__gthread_recursive_mutex_lock (__gthread_recursive_mutex_t *__mutex)
{
  return __gthread_mutex_lock (__mutex);
}

static inline int
__gthread_recursive_mutex_trylock (__gthread_recursive_mutex_t *__mutex)
{
  return __gthread_mutex_trylock (__mutex);
}

#if _GTHREAD_USE_MUTEX_TIMEDLOCK
static inline int
__gthread_recursive_mutex_timedlock (__gthread_recursive_mutex_t *__mutex,
				     const __gthread_time_t *__abs_timeout)
{
  return __gthread_mutex_timedlock (__mutex, __abs_timeout);
}
#endif

static inline int
__gthread_recursive_mutex_unlock (__gthread_recursive_mutex_t *__mutex)
{
  return __gthread_mutex_unlock (__mutex);
}

static inline int
__gthread_recursive_mutex_destroy (__gthread_recursive_mutex_t *__mutex)
{
  return __gthread_mutex_destroy (__mutex);
}

#ifdef _GTHREAD_USE_COND_INIT_FUNC
static inline void
__gthread_cond_init_function (__gthread_cond_t *__cond)
{
  if (__gthread_active_p ())
    __gthrw_(pthread_cond_init) (__cond, NULL);
}
#endif

static inline int
__gthread_cond_broadcast (__gthread_cond_t *__cond)
{
  return __gthrw_(pthread_cond_broadcast) (__cond);
}

static inline int
__gthread_cond_signal (__gthread_cond_t *__cond)
{
  return __gthrw_(pthread_cond_signal) (__cond);
}

static inline int
__gthread_cond_wait (__gthread_cond_t *__cond, __gthread_mutex_t *__mutex)
{
  return __gthrw_(pthread_cond_wait) (__cond, __mutex);
}

static inline int
__gthread_cond_timedwait (__gthread_cond_t *__cond, __gthread_mutex_t *__mutex,
			  const __gthread_time_t *__abs_timeout)
{
  return __gthrw_(pthread_cond_timedwait) (__cond, __mutex, __abs_timeout);
}

static inline int
__gthread_cond_wait_recursive (__gthread_cond_t *__cond,
			       __gthread_recursive_mutex_t *__mutex)
{
  return __gthread_cond_wait (__cond, __mutex);
}

static inline int
__gthread_cond_destroy (__gthread_cond_t* __cond)
{
  return __gthrw_(pthread_cond_destroy) (__cond);
}

#endif /* _LIBOBJC */

#endif /* ! _GLIBCXX_GCC_GTHR_POSIX_H */
