Displaying 19 results from an estimated 19 matches for "pthread_cond_init".
Did you mean:
thread_cond_init
2003 May 08
1
dcom98, ole32=n and CreateProcess
...been installed. To override,
you must uninstall the current version first."
below is output I get:
[s2@localhost c]$ wine ~/c/dcom98.exe
fixme:win32:PE_CreateModule Security directory ignored
fixme:process:CreateProcessA (E:\IXP001.TMP\install.exe,...): NORMAL_PRIORITY_CLASS ignored
FIXME:pthread_cond_init
fixme:process:CreateProcessA (C:\windows\rundll32.exe,...): NORMAL_PRIORITY_CLASS ignored
FIXME:pthread_cond_init
err:module:BUILTIN32_LoadLibraryExA loaded .so but dll setupx.dll still not found - 16-bit dll or version conflict.
so after I run this:
[s2@localhost c]$ wine --debugmsg +loaddll...
2011 Nov 11
1
[RFC] kvm tools: Implement multiple VQ for virtio-net
...bool virtio_net__tap_init(const struct virtio_net_params *params,
@@ -248,14 +245,17 @@ fail:
static void virtio_net__io_thread_init(struct kvm *kvm, struct net_dev *ndev)
{
- pthread_mutex_init(&ndev->io_tx_lock, NULL);
- pthread_mutex_init(&ndev->io_rx_lock, NULL);
+ int i;
- pthread_cond_init(&ndev->io_tx_cond, NULL);
- pthread_cond_init(&ndev->io_rx_cond, NULL);
+ for (i = 0; i < ndev->vq_num; i++) {
+ pthread_mutex_init(&ndev->io_lock[i], NULL);
+ pthread_cond_init(&ndev->io_cond[i], NULL);
+ }
- pthread_create(&ndev->io_tx_thread, NULL, vi...
2011 Nov 11
1
[RFC] kvm tools: Implement multiple VQ for virtio-net
...bool virtio_net__tap_init(const struct virtio_net_params *params,
@@ -248,14 +245,17 @@ fail:
static void virtio_net__io_thread_init(struct kvm *kvm, struct net_dev *ndev)
{
- pthread_mutex_init(&ndev->io_tx_lock, NULL);
- pthread_mutex_init(&ndev->io_rx_lock, NULL);
+ int i;
- pthread_cond_init(&ndev->io_tx_cond, NULL);
- pthread_cond_init(&ndev->io_rx_cond, NULL);
+ for (i = 0; i < ndev->vq_num; i++) {
+ pthread_mutex_init(&ndev->io_lock[i], NULL);
+ pthread_cond_init(&ndev->io_cond[i], NULL);
+ }
- pthread_create(&ndev->io_tx_thread, NULL, vi...
2003 Jul 14
5
Office2000
Hi all,
I've a problem by installing M$ Office2000 on the lates version
(20030709) of Wine.
When I run setup.exe all seem to work until the installation scroll bar
opens. At this time the process hangs and the installation does not proceed.
This happens both without windows installed than with a native Win2000
installation.
I've a Mandrake 9.1.
Any ideas? Any suggestions of how to
2010 Jun 15
2
Remote X connection to CentOS 5.5 using Xming -ac
...Visuals
glWinInitVisualConfigs:1503: glWinInitVisualConfigs
glWinSetVisualConfigs:1581: glWinSetVisualConfigs
init_visuals:1055: init_visuals
null screen fn ReparentWindow
null screen fn RestackWindow
InitQueue - Calling pthread_mutex_init
InitQueue - pthread_mutex_init returned
InitQueue - Calling pthread_cond_init
InitQueue - pthread_cond_init returned
winInitMultiWindowWM - Hello
winInitMultiWindowWM - Calling pthread_mutex_lock ()
winMultiWindowXMsgProc - Hello
winMultiWindowXMsgProc - Calling pthread_mutex_lock ()
glWinScreenProbe:1390: glWinScreenProbe
fixup_visuals:1303: fixup_visuals
init_screen_visual...
2009 Mar 18
3
[LLVMdev] Status of LLVM's atomic intrinsics
...y_id, count);
}
pthread_mutex_unlock(&count_mutex);
pthread_exit(NULL);
}
int main (int argc, char *argv[])
{
int i, rc;
pthread_t threads[1+NUM_THREADS];
pthread_attr_t attr;
/* Initialize mutex and condition variable objects */
pthread_mutex_init(&count_mutex, NULL);
pthread_cond_init (&count_threshold_cv, NULL);
/* For portability, explicitly create threads in a joinable state */
pthread_attr_init(&attr);
pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_JOINABLE);
pthread_create(&threads[0], &attr, watch_count, (void *)1);
for (int t=1; t<NUM_...
2003 Aug 03
0
Turning debugging off
...debugging off and try again".
The following error is from trying to run Army Men RTS.
[ken@spooky Army Men RTS]$ wineserver && wine amrts.exe
Loading required GL library /usr/X11R6/lib/libGL.so.1.2
fixme:module:CreateProcessA (X:\~f51e43.tmp,...): NORMAL_PRIORITY_CLASS
ignored
FIXME:pthread_cond_init
Loading required GL library /usr/X11R6/lib/libGL.so.1.2
err:int:INSTR_IDT_Emulate Evil attempt to exploit win9x system security flaws
detected
err:int:INSTR_IDT_Emulate UNIX system security is too strong, can't emulate
properly
fixme:win32:DEVICE_Open Unknown/unsupported VxD SICE. Try --winve...
2002 Dec 05
0
WINE Configuration for MDK 9.0!
...9,-4,6)-stub!
fixme:hook:NotifyWinEvent (32769,0x00010029,-4,5)-stub!
fixme:hook:NotifyWinEvent (32769,0x00010029,-4,4)-stub!
fixme:hook:NotifyWinEvent (32769,0x00010029,-4,3)-stub!
fixme:hook:NotifyWinEvent (32769,0x00010029,-4,2)-stub!
fixme:hook:NotifyWinEvent (32769,0x00010029,-4,1)-stub!
FIXME:pthread_cond_init
mcop warning: user defined signal handler found for SIG_PIPE, overriding
fixme:process:CreateProcessA (C:\windows\system\tapisrv.exe,...): NORMAL_PRIORITY_CLASS ignored
FIXME:pthread_cond_init
fixme:ole:RpcServerUseProtseqEpExA (ncacn_np,20,\pipe\tapsrv,0x405d6e00,{12,0,0}): stub
fixme:ole:RpcServe...
2009 Mar 18
0
[LLVMdev] Status of LLVM's atomic intrinsics
...;
> pthread_exit(NULL);
> }
>
> int main (int argc, char *argv[])
> {
> int i, rc;
> pthread_t threads[1+NUM_THREADS];
> pthread_attr_t attr;
>
> /* Initialize mutex and condition variable objects */
> pthread_mutex_init(&count_mutex, NULL);
> pthread_cond_init (&count_threshold_cv, NULL);
>
> /* For portability, explicitly create threads in a joinable state */
> pthread_attr_init(&attr);
> pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_JOINABLE);
> pthread_create(&threads[0], &attr, watch_count, (void *)1);...
2012 Dec 14
1
[PATCH V5] libxenstore: filter watch events in libxenstore when we unwatch
...)
@@ -247,6 +251,8 @@ static struct xs_handle *get_handle(const char *connect_to)
/* Watch pipe is allocated on demand in xs_fileno(). */
h->watch_pipe[0] = h->watch_pipe[1] = -1;
+ h->unwatch_filter = false;
+
#ifdef USE_PTHREAD
pthread_mutex_init(&h->watch_mutex, NULL);
pthread_cond_init(&h->watch_condvar, NULL);
@@ -287,6 +293,9 @@ struct xs_handle *xs_open(unsigned long flags)
if (!xsh && !(flags & XS_OPEN_SOCKETONLY))
xsh = get_handle(xs_domain_dev());
+ if (xsh && (flags & XS_UNWATCH_FILTER))
+ xsh->unwatch_filter = true;
+
return xsh...
2012 Mar 11
2
[patch] Threading support in ssh-agent
...+#ifdef HAVE_LIBPTHREAD
+
+int
+req_queue_init(struct AuthRequestQueue* q, int inprogress_initial)
+{
+ memset(q, 0, sizeof(struct AuthRequestQueue));
+
+ if (pthread_mutex_init(&(q->lock), 0)) {
+ error("pthread_mutex_init(queue): %s", strerror(errno));
+ return -1;
+ }
+ if (pthread_cond_init(&(q->cond), 0)) {
+ error("pthread_cond_init(queue): %s", strerror(errno));
+ return -1;
+ }
+ q->inprogress = inprogress_initial;
+ return 0;
+}
+
+int
+req_queue_enqueue(struct AuthRequestQueue* q, AuthWorker worker, SocketEntry *e)
+{
+ int off;
+
+ pthread_mutex_lock(&...
2012 Dec 14
1
[PATCH V4] libxenstore: filter watch events in libxenstore when we unwatch
...)
@@ -247,6 +251,8 @@ static struct xs_handle *get_handle(const char *connect_to)
/* Watch pipe is allocated on demand in xs_fileno(). */
h->watch_pipe[0] = h->watch_pipe[1] = -1;
+ h->unwatch_filter = false;
+
#ifdef USE_PTHREAD
pthread_mutex_init(&h->watch_mutex, NULL);
pthread_cond_init(&h->watch_condvar, NULL);
@@ -287,6 +293,9 @@ struct xs_handle *xs_open(unsigned long flags)
if (!xsh && !(flags & XS_OPEN_SOCKETONLY))
xsh = get_handle(xs_domain_dev());
+ if (xsh && (flags & XS_UNWATCH_FILTER))
+ xsh->unwatch_filter = true;
+
return xsh...
2020 Aug 06
5
[PATCH nbdkit NOT WORKING 0/2] vddk: Relax threading model.
I believe this roughly implements Nir's proposal here:
https://www.redhat.com/archives/libguestfs/2020-August/msg00028.html
Unfortunately it doesn't work for me. It actually slows things down
quite a lot, for reasons I don't understand. Note the adjustment of
the pool-max parameter and how it affects the total time. The results
are quite reproducible.
$ ./nbdkit -r -U - vddk
2020 Aug 06
0
[PATCH nbdkit 2/2] vddk: Relax thread model to PARALLEL and implement a disk handle pool.
...int32_t flags;
- h = malloc (sizeof *h);
+ h = calloc (1, sizeof *h);
if (h == NULL) {
- nbdkit_error ("malloc: %m");
+ nbdkit_error ("calloc: %m");
return NULL;
}
+ h->readonly = readonly;
+ pthread_mutex_init (&h->vddk_handles_lock, NULL);
+ pthread_cond_init (&h->vddk_handles_cond, NULL);
+
+ /* We have to reserve this vector to ensure that it is not
+ * reallocated, as that would make the pointer returned by
+ * get_vddk_handle in another thread invalid.
+ */
+ if (vddk_handles_reserve (&h->vddk_handles, pool_max) == -1) {
+ n...
2012 Dec 13
4
[PATCH V3] libxenstore: filter watch events in libxenstore when we unwatch
...)0)
@@ -247,6 +251,8 @@ static struct xs_handle *get_handle(const char *connect_to)
/* Watch pipe is allocated on demand in xs_fileno(). */
h->watch_pipe[0] = h->watch_pipe[1] = -1;
+ h->unwatch_safe = false;
+
#ifdef USE_PTHREAD
pthread_mutex_init(&h->watch_mutex, NULL);
pthread_cond_init(&h->watch_condvar, NULL);
@@ -287,6 +293,9 @@ struct xs_handle *xs_open(unsigned long flags)
if (!xsh && !(flags & XS_OPEN_SOCKETONLY))
xsh = get_handle(xs_domain_dev());
+ if (xsh && (flags & XS_UNWATCH_SAFE))
+ xsh->unwatch_safe = true;
+
return xsh;
}...
2020 Aug 06
3
Re: [PATCH nbdkit 2/2] vddk: Relax thread model to PARALLEL and implement a disk handle pool.
...+ h = calloc (1, sizeof *h);
> if (h == NULL) {
> - nbdkit_error ("malloc: %m");
> + nbdkit_error ("calloc: %m");
> return NULL;
> }
>
> + h->readonly = readonly;
> + pthread_mutex_init (&h->vddk_handles_lock, NULL);
> + pthread_cond_init (&h->vddk_handles_cond, NULL);
> +
> + /* We have to reserve this vector to ensure that it is not
> + * reallocated, as that would make the pointer returned by
> + * get_vddk_handle in another thread invalid.
> + */
> + if (vddk_handles_reserve (&h->vddk_hand...
2010 Jul 30
33
[PATCHES] Smartjog PatchDump
Hello,
I work at SmarctJog.com, we have here some patches on IceCast for
performance and reliability, these are mostly client/connection/source
cleanups (a slave merge is underway, and some more good stuff (c)),
but we'd like this to be merged in before the list gets any longer.
Please find attached a list of our patches with a short desc:
This one is actually not from us/me, it was found
2017 Apr 07
34
[RFC 0/3] virtio-iommu: a paravirtualized IOMMU
This is the initial proposal for a paravirtualized IOMMU device using
virtio transport. It contains a description of the device, a Linux driver,
and a toy implementation in kvmtool. With this prototype, you can
translate DMA to guest memory from emulated (virtio), or passed-through
(VFIO) devices.
In its simplest form, implemented here, the device handles map/unmap
requests from the guest. Future
2017 Apr 07
34
[RFC 0/3] virtio-iommu: a paravirtualized IOMMU
This is the initial proposal for a paravirtualized IOMMU device using
virtio transport. It contains a description of the device, a Linux driver,
and a toy implementation in kvmtool. With this prototype, you can
translate DMA to guest memory from emulated (virtio), or passed-through
(VFIO) devices.
In its simplest form, implemented here, the device handles map/unmap
requests from the guest. Future