From 50aa5cd62ef4a66da41d68f4a50ddfca97863c38 Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Wed, 3 Aug 2005 18:24:08 +0000 Subject: Multithreading - Multithreaded access to recoding functions using same context - Engine plugin to select between UTF-8 and ISO8859-1 for Western European Languages - Fix: 'rccTo' converting FS classes - FS class support in 'rccConfigSizedToCharset' --- src/opt.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/opt.c') diff --git a/src/opt.c b/src/opt.c index 18d2054..e6f8486 100644 --- a/src/opt.c +++ b/src/opt.c @@ -50,8 +50,10 @@ int rccSetOption(rcc_context ctx, rcc_option option, rcc_option_value value) { ctx->default_options[option] = 0; if (ctx->options[option] != value) { + rccMutexLock(ctx->mutex); ctx->configure = 1; ctx->options[option]=value; + rccMutexUnLock(ctx->mutex); } return 0; -- cgit v1.2.3