Developer Notes

FReadScopeLock and FMultiReaderSingleWriterGT classes no longer exist.

Description

Attempting to initialize FReadScopeLock with FMultiReaderSingleWriterGT* causes unresolved external errors.

Steps to Reproduce
  1. Open UE4 Editor
  2. Add code to project based on Actor (MyActor)
  3. Add the following to MyActor.h
    • Include
      #include "Runtime/Core/Public/HAL/ThreadingBase.h"
      
    • Inside class declaration
      private:
      	FMultiReaderSingleWriterGT mSyncObject;
      
  4. Add the following to MyActor.cpp
    • BeginPlay() function
      FReadScopeLock Something(&mSyncObject);
      
  5. Compile

Result:
Unresolved external error

Expected:
Compile succeeds since FReadScopeLock takes FMultiReaderSingleWriterGT* as a constructor parameter

Have Comments or More Details?

Head over to the existing Questions & Answers thread and let us know what's up.

0
Login to Vote

Non-Issue
ComponentUE - Foundation - Core
Affects Versions4.11.2
Target Fix4.16
CreatedMay 24, 2016
ResolvedApr 10, 2017
UpdatedApr 27, 2018
View Jira Issue